瀏覽代碼

x86: canonicalize remaining header guards

Canonicalize a few remaining header guards, with the exception for
those which are still in subarchitecture directories.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin 16 年之前
父節點
當前提交
5e1b00758b
共有 3 個文件被更改,包括 8 次插入8 次删除
  1. 2 2
      arch/x86/include/asm/gpio.h
  2. 3 3
      arch/x86/include/asm/irq_remapping.h
  3. 3 3
      arch/x86/include/asm/syscall.h

+ 2 - 2
arch/x86/include/asm/gpio.h

@@ -13,8 +13,8 @@
  * (at your option) any later version.
  */
 
-#ifndef _ASM_I386_GPIO_H
-#define _ASM_I386_GPIO_H
+#ifndef _ASM_X86_GPIO_H
+#define _ASM_X86_GPIO_H
 
 #include <asm-generic/gpio.h>
 

+ 3 - 3
arch/x86/include/asm/irq_remapping.h

@@ -1,8 +1,8 @@
-#ifndef _ASM_IRQ_REMAPPING_H
-#define _ASM_IRQ_REMAPPING_H
+#ifndef _ASM_X86_IRQ_REMAPPING_H
+#define _ASM_X86_IRQ_REMAPPING_H
 
 extern int x2apic;
 
 #define IRTE_DEST(dest) ((x2apic) ? dest : dest << 8)
 
-#endif
+#endif	/* _ASM_X86_IRQ_REMAPPING_H */

+ 3 - 3
arch/x86/include/asm/syscall.h

@@ -10,8 +10,8 @@
  * See asm-generic/syscall.h for descriptions of what we must do here.
  */
 
-#ifndef _ASM_SYSCALL_H
-#define _ASM_SYSCALL_H	1
+#ifndef _ASM_X86_SYSCALL_H
+#define _ASM_X86_SYSCALL_H
 
 #include <linux/sched.h>
 #include <linux/err.h>
@@ -208,4 +208,4 @@ static inline void syscall_set_arguments(struct task_struct *task,
 
 #endif	/* CONFIG_X86_32 */
 
-#endif	/* _ASM_SYSCALL_H */
+#endif	/* _ASM_X86_SYSCALL_H */