All of lore.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

* [tip:x86/asm] x86/asm: Drop repeated macro of X86_EFLAGS_AC definition
  2015-08-27 10:04 [PATCH] x86/asm: Drop repeated macro of X86_EFLAGS_AC definition Huang Rui
@ 2015-08-28  6:43 ` tip-bot for Huang Rui
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Huang Rui @ 2015-08-28  6:43 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, peterz, fenghua.yu, tglx, torvalds, tony.li,
	fengguang.wu, bp, luto, mingo, ray.huang, tony.luck, hpa

Commit-ID:  7e01ebffffedec22cea86ebe94802f909e4579ca
Gitweb:     http://git.kernel.org/tip/7e01ebffffedec22cea86ebe94802f909e4579ca
Author:     Huang Rui <ray.huang@amd.com>
AuthorDate: Thu, 27 Aug 2015 18:04:04 +0800
Committer:  Ingo Molnar <mingo@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.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 | 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 */

^ 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.