Commit-ID:  7e01ebffffedec22cea86ebe94802f909e4579ca
Gitweb:     http://git.kernel.org/tip/7e01ebffffedec22cea86ebe94802f909e4579ca
Author:     Huang Rui <ray.hu...@amd.com>
AuthorDate: Thu, 27 Aug 2015 18:04:04 +0800
Committer:  Ingo Molnar <mi...@kernel.org>
CommitDate: Fri, 28 Aug 2015 07:33:34 +0200

x86/asm: Drop repeated macro of X86_EFLAGS_AC definition

We just need one macro of X86_EFLAGS_AC_BIT and X86_EFLAGS_AC.

Signed-off-by: Huang Rui <ray.hu...@amd.com>
Cc: Andy Lutomirski <l...@amacapital.net>
Cc: Borislav Petkov <b...@suse.de>
Cc: Fengguang Wu <fengguang...@intel.com>
Cc: Fenghua Yu <fenghua...@intel.com>
Cc: Linus Torvalds <torva...@linux-foundation.org>
Cc: Peter Zijlstra <pet...@infradead.org>
Cc: Thomas Gleixner <t...@linutronix.de>
Cc: Tony Li <tony...@amd.com>
Cc: Tony Luck <tony.l...@intel.com>
Link: 
http://lkml.kernel.org/r/1440669844-21535-1-git-send-email-ray.hu...@amd.com
Signed-off-by: Ingo Molnar <mi...@kernel.org>
---
 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 */
--
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