From 0b0b4f6c4162e136fc0f785028408a15e5189270 Mon Sep 17 00:00:00 2001 From: Paolo Ciarrocchi Date: Tue, 19 Feb 2008 21:02:16 +0100 Subject: [PATCH] --- yaml --- r: 88615 b: refs/heads/master c: 325f86ec6d2ae4ab9879e745a92444f8bac20233 h: refs/heads/master i: 88613: f01adfc43900de4a452f8e56a3031c00af87ab5d 88611: 64a4263421508777468e08b296f81a7931e5f04a 88607: debbf77b3bacbb37fe2ed2e4f15801b9002215a6 v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/syscall_64.c | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 099b572d4d59..3a4a3ffb6a6f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e9406597884b5c2f196b124bdd6af47351562a9d +refs/heads/master: 325f86ec6d2ae4ab9879e745a92444f8bac20233 diff --git a/trunk/arch/x86/kernel/syscall_64.c b/trunk/arch/x86/kernel/syscall_64.c index 9d498c2f8eea..170d43c17487 100644 --- a/trunk/arch/x86/kernel/syscall_64.c +++ b/trunk/arch/x86/kernel/syscall_64.c @@ -1,4 +1,4 @@ -/* System call table for x86-64. */ +/* System call table for x86-64. */ #include #include @@ -7,20 +7,23 @@ #define __NO_STUBS -#define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; +#define __SYSCALL(nr, sym) extern asmlinkage void sym(void) ; #undef _ASM_X86_64_UNISTD_H_ #include #undef __SYSCALL -#define __SYSCALL(nr, sym) [ nr ] = sym, +#define __SYSCALL(nr, sym) [nr] = sym, #undef _ASM_X86_64_UNISTD_H_ -typedef void (*sys_call_ptr_t)(void); +typedef void (*sys_call_ptr_t)(void); extern void sys_ni_syscall(void); const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = { - /* Smells like a like a compiler bug -- it doesn't work when the & below is removed. */ + /* + *Smells like a like a compiler bug -- it doesn't work + *when the & below is removed. + */ [0 ... __NR_syscall_max] = &sys_ni_syscall, #include };