Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70971
b: refs/heads/master
c: 6704ab1
h: refs/heads/master
i:
  70969: 734a198
  70967: 6a146fd
v: v3
  • Loading branch information
Mike Frysinger authored and Thomas Gleixner committed Oct 17, 2007
1 parent 405eb30 commit e9074f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96d5535870e6a272dcadc300eb9af6ff6c33f6a9
refs/heads/master: 6704ab1cd42269e536a6735db740e57e2c04c3b4
2 changes: 2 additions & 0 deletions trunk/include/asm-x86/unistd_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -676,12 +676,14 @@ asmlinkage long sys_rt_sigaction(int sig,
#endif /* __KERNEL__ */
#endif /* __NO_STUBS */

#ifdef __KERNEL__
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
#endif /* __KERNEL__ */

#endif /* _ASM_X86_64_UNISTD_H_ */

0 comments on commit e9074f9

Please sign in to comment.