x86/asm: Drop repeated macro of X86_EFLAGS_AC definition
authorHuang Rui <ray.huang@amd.com>
Thu, 27 Aug 2015 10:04:04 +0000 (18:04 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 28 Aug 2015 05:33:34 +0000 (07:33 +0200)
We just need one macro of X86_EFLAGS_AC_BIT and X86_EFLAGS_AC.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@suse.de>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Li <tony.li@amd.com>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/1440669844-21535-1-git-send-email-ray.huang@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/uapi/asm/processor-flags.h

index 180a0c3c224db00e67d91434784b7a217cd45de9..79887abcb5e1fe1e45c08e94a3912fdd4ede9d4e 100644 (file)
@@ -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 */