repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
of: MSI: Simplify irqdomain lookup
[linux/fpc-iii.git]
/
arch
/
mips
/
include
/
asm
/
linkage.h
blob
99651b0ea7c726a81393127f8a18d873515a0fe6
1
#ifndef __ASM_LINKAGE_H
2
#define __ASM_LINKAGE_H
3
4
#ifdef __ASSEMBLY__
5
#include <asm/asm.h>
6
#endif
7
8
#define cond_syscall(x) asm(
".weak
\t
"
#x
"
\n
"
#x
"
\t
=
\t
sys_ni_syscall"
)
9
#define SYSCALL_ALIAS(alias, name) \
10
asm ( #alias
" = "
#name
"
\n\t
.globl "
#alias)
11
12
#endif