We just need one macro of X86_EFLAGS_AC_BIT and X86_EFLAGS_AC.

Signed-off-by: Huang Rui <ray.hu...@amd.com>
---
 arch/x86/include/uapi/asm/processor-flags.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/x86/include/uapi/asm/processor-flags.h 
b/arch/x86/include/uapi/asm/processor-flags.h
index 180a0c3..79887ab 100644
--- a/arch/x86/include/uapi/asm/processor-flags.h
+++ b/arch/x86/include/uapi/asm/processor-flags.h
@@ -37,8 +37,6 @@
 #define X86_EFLAGS_VM          _BITUL(X86_EFLAGS_VM_BIT)
 #define X86_EFLAGS_AC_BIT      18 /* Alignment Check/Access Control */
 #define X86_EFLAGS_AC          _BITUL(X86_EFLAGS_AC_BIT)
-#define X86_EFLAGS_AC_BIT      18 /* Alignment Check/Access Control */
-#define X86_EFLAGS_AC          _BITUL(X86_EFLAGS_AC_BIT)
 #define X86_EFLAGS_VIF_BIT     19 /* Virtual Interrupt Flag */
 #define X86_EFLAGS_VIF         _BITUL(X86_EFLAGS_VIF_BIT)
 #define X86_EFLAGS_VIP_BIT     20 /* Virtual Interrupt Pending */
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to