浏览代码

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>
H. Peter Anvin 14 年之前
父节点
当前提交
b7641d2c83
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      arch/x86/kernel/syscall_64.c

+ 3 - 3
arch/x86/kernel/syscall_64.c

@@ -21,9 +21,9 @@ extern void sys_ni_syscall(void);
 
 
 const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = {
 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 compiler bug -- it doesn't work
+	 * when the & below is removed.
+	 */
 	[0 ... __NR_syscall_max] = &sys_ni_syscall,
 	[0 ... __NR_syscall_max] = &sys_ni_syscall,
 #include <asm/unistd_64.h>
 #include <asm/unistd_64.h>
 };
 };