Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297731
b: refs/heads/master
c: a06c9bc
h: refs/heads/master
i:
  297729: e277375
  297727: 0ae27b2
v: v3
  • Loading branch information
H. Peter Anvin committed Feb 20, 2012
1 parent a18889f commit 2eb5abc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1a797f388d6d30fa502915d1b9937ed758b7137
refs/heads/master: a06c9bc0647f66df0534fb887ddf6cddd35f426c
6 changes: 5 additions & 1 deletion trunk/arch/x86/kernel/asm-offsets_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

#define __SYSCALL_64(nr, sym, compat) [nr] = 1,
#define __SYSCALL_COMMON(nr, sym, compat) [nr] = 1,
#define __SYSCALL_X32(nr, sym, compat) /* Not yet */
#ifdef CONFIG_X86_X32_ABI
# define __SYSCALL_X32(nr, sym, compat) [nr] = 1,
#else
# define __SYSCALL_X32(nr, sym, compat) /* nothing */
#endif
static char syscalls_64[] = {
#include <asm/syscalls_64.h>
};
Expand Down
7 changes: 6 additions & 1 deletion trunk/arch/x86/kernel/syscall_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
#include <asm/asm-offsets.h>

#define __SYSCALL_COMMON(nr, sym, compat) __SYSCALL_64(nr, sym, compat)
#define __SYSCALL_X32(nr, sym, compat) /* Not yet */

#ifdef CONFIG_X86_X32_ABI
# define __SYSCALL_X32(nr, sym, compat) __SYSCALL_64(nr, sym, compat)
#else
# define __SYSCALL_X32(nr, sym, compat) /* nothing */
#endif

#define __SYSCALL_64(nr, sym, compat) extern asmlinkage void sym(void) ;
#include <asm/syscalls_64.h>
Expand Down

0 comments on commit 2eb5abc

Please sign in to comment.