aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-11-11 18:43:02 -0500
committerH. Peter Anvin <hpa@linux.intel.com>2011-11-17 16:35:35 -0500
commitb7641d2c83aa10031bf45afd82619bfaaedcbc6f (patch)
tree3af1fcc1100a9298db2973ad69f8cd7231509d3b
parent052ad274964e613a12bf8ce7c5631f70d0bc82cc (diff)
x86-64, syscall: Adjust comment spacing and remove typo
Adjust spacing for comment so that it matches the multiline comment style used in the rest of the kernel, and remove word duplication. It is not really clear what version of gcc this refers to, but the extra & doesn't cause any harm, so there is no reason to remove it. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--arch/x86/kernel/syscall_64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/syscall_64.c b/arch/x86/kernel/syscall_64.c
index de87d6008295..0edfafa1b269 100644
--- a/arch/x86/kernel/syscall_64.c
+++ b/arch/x86/kernel/syscall_64.c
@@ -21,9 +21,9 @@ extern void sys_ni_syscall(void);
21 21
22const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = { 22const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = {
23 /* 23 /*
24 *Smells like a like a compiler bug -- it doesn't work 24 * Smells like a compiler bug -- it doesn't work
25 *when the & below is removed. 25 * when the & below is removed.
26 */ 26 */
27 [0 ... __NR_syscall_max] = &sys_ni_syscall, 27 [0 ... __NR_syscall_max] = &sys_ni_syscall,
28#include <asm/unistd_64.h> 28#include <asm/unistd_64.h>
29}; 29};