public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/asm: Drop repeated macro of X86_EFLAGS_AC definition
@ 2015-08-27 10:04 Huang Rui
  2015-08-28  6:43 ` [tip:x86/asm] " tip-bot for Huang Rui
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Rui @ 2015-08-27 10:04 UTC (permalink / raw)
  To: Borislav Petkov, H. Peter Anvin, Fenghua Yu, Tony Luck,
	Andy Lutomirski, Thomas Gleixner, Peter Zijlstra, Ingo Molnar
  Cc: linux-kernel, x86, Fengguang Wu, Tony Li, Huang Rui

We just need one macro of X86_EFLAGS_AC_BIT and X86_EFLAGS_AC.

Signed-off-by: Huang Rui <ray.huang@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-28  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27 10:04 [PATCH] x86/asm: Drop repeated macro of X86_EFLAGS_AC definition Huang Rui
2015-08-28  6:43 ` [tip:x86/asm] " tip-bot for Huang Rui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox