x86: Fix ASM_X86__ header guards
Change header guards named "ASM_X86__*" to "_ASM_X86_*" since: a. the double underscore is ugly and pointless. b. no leading underscore violates namespace constraints. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef ASM_X86__MSIDEF_H
|
||||
#define ASM_X86__MSIDEF_H
|
||||
#ifndef _ASM_X86_MSIDEF_H
|
||||
#define _ASM_X86_MSIDEF_H
|
||||
|
||||
/*
|
||||
* Constants for Intel APIC based MSI messages.
|
||||
@@ -52,4 +52,4 @@
|
||||
#define MSI_ADDR_IR_SHV (1 << 3)
|
||||
#define MSI_ADDR_IR_INDEX1(index) ((index & 0x8000) >> 13)
|
||||
#define MSI_ADDR_IR_INDEX2(index) ((index & 0x7fff) << 5)
|
||||
#endif /* ASM_X86__MSIDEF_H */
|
||||
#endif /* _ASM_X86_MSIDEF_H */
|
||||
|
Reference in New Issue
Block a user