mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: Remove duplicate #define from 'cpufeature.h'
@ 2008-11-23 12:35 Hannes Eder
  2008-11-23 12:39 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Hannes Eder @ 2008-11-23 12:35 UTC (permalink / raw)
  To: Ingo Molnar, linux-kernel, kernel-janitors

Remove duplicate #define from 'cpufeature.h'.

This also fixes the following sparse warning:

arch/x86/kernel/cpu/capflags.c:54:3: warning: Initializer entry defined twice
arch/x86/kernel/cpu/capflags.c:58:3:   also defined here

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
---
 arch/x86/include/asm/cpufeature.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/cpufeature.h
b/arch/x86/include/asm/cpufeature.h
index 694d1f8..5bce8ed 100644
--- a/arch/x86/include/asm/cpufeature.h
+++ b/arch/x86/include/asm/cpufeature.h
@@ -80,7 +80,6 @@
 #define X86_FEATURE_UP		(3*32+ 9) /* smp kernel running on up */
 #define X86_FEATURE_FXSAVE_LEAK (3*32+10) /* "" FXSAVE leaks FOP/FIP/FOP */
 #define X86_FEATURE_ARCH_PERFMON (3*32+11) /* Intel Architectural PerfMon */
-#define X86_FEATURE_NOPL	(3*32+20) /* The NOPL (0F 1F) instructions */
 #define X86_FEATURE_PEBS	(3*32+12) /* Precise-Event Based Sampling */
 #define X86_FEATURE_BTS		(3*32+13) /* Branch Trace Store */
 #define X86_FEATURE_SYSCALL32	(3*32+14) /* "" syscall in ia32 userspace */

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

* Re: [PATCH] x86: Remove duplicate #define from 'cpufeature.h'
  2008-11-23 12:35 [PATCH] x86: Remove duplicate #define from 'cpufeature.h' Hannes Eder
@ 2008-11-23 12:39 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-11-23 12:39 UTC (permalink / raw)
  To: Hannes Eder; +Cc: linux-kernel, kernel-janitors


* Hannes Eder <hannes@hanneseder.net> wrote:

> Remove duplicate #define from 'cpufeature.h'.
> 
> This also fixes the following sparse warning:
> 
> arch/x86/kernel/cpu/capflags.c:54:3: warning: Initializer entry defined twice
> arch/x86/kernel/cpu/capflags.c:58:3:   also defined here
> 
> Signed-off-by: Hannes Eder <hannes@hanneseder.net>
> ---
>  arch/x86/include/asm/cpufeature.h |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

applied to tip/x86/cpufeature, thanks Hannes!

	Ingo

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

end of thread, other threads:[~2008-11-23 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-23 12:35 [PATCH] x86: Remove duplicate #define from 'cpufeature.h' Hannes Eder
2008-11-23 12:39 ` Ingo Molnar

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

all inboxes | Powered by JetHome®