提交 5e1b0075 编写于 作者: H H. Peter Anvin

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: NH. Peter Anvin <hpa@zytor.com>
上级 05e4d316
......@@ -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>
......
#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 */
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册