git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
consolidate cond_syscall and SYSCALL_ALIAS declarations
[sfrench/cifs-2.6.git]
/
arch
/
ia64
/
include
/
asm
/
linkage.h
diff --git
a/arch/ia64/include/asm/linkage.h
b/arch/ia64/include/asm/linkage.h
index ef22a45c1890bf26eb8f82a8f15c5e5f8f65c5f8..787575701f1ca94c34b872e3b2f37fd97da3afc7 100644
(file)
--- a/
arch/ia64/include/asm/linkage.h
+++ b/
arch/ia64/include/asm/linkage.h
@@
-11,4
+11,8
@@
#endif
+#define cond_syscall(x) asm(".weak\t" #x "#\n" #x "#\t=\tsys_ni_syscall#")
+#define SYSCALL_ALIAS(alias, name) \
+ asm ( #alias "# = " #name "#\n\t.globl " #alias "#")
+
#endif