public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* asm-x86/msr.h for sanitized headers: clean it or punt it
@ 2007-12-31  5:45 Mike Frysinger
  2007-12-31  5:51 ` H. Peter Anvin
  2007-12-31 12:26 ` Andi Kleen
  0 siblings, 2 replies; 10+ messages in thread
From: Mike Frysinger @ 2007-12-31  5:45 UTC (permalink / raw)
  To: tglx, mingo, hpa; +Cc: LKML

The current asm-x86/msr.h does not actually define anything for (!__KERNEL__
&& __i386__).  For x86_64, it fails to build due to u32/u64 types being used.
Simply not installing the header seems easiest to me.  Otherwise, x86_64 will
need sanitizing and i386 should have things added back, otherwise it's just a
pointless empty header.

Signed-Off-By: Mike Frysinger <vapier@gentoo.org>
---
diff --git a/include/asm-x86/Kbuild b/include/asm-x86/Kbuild
index 12db5a1..6453804 100644
--- a/include/asm-x86/Kbuild
+++ b/include/asm-x86/Kbuild
@@ -4,7 +4,6 @@ header-y += boot.h
 header-y += bootparam.h
 header-y += debugreg.h
 header-y += ldt.h
-header-y += msr-index.h
 header-y += prctl.h
 header-y += ptrace-abi.h
 header-y += sigcontext32.h
@@ -14,7 +13,6 @@ header-y += vsyscall32.h
 unifdef-y += e820.h
 unifdef-y += ist.h
 unifdef-y += mce.h
-unifdef-y += msr.h
 unifdef-y += mtrr.h
 unifdef-y += page_32.h
 unifdef-y += page_64.h

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

end of thread, other threads:[~2008-01-02  1:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-31  5:45 asm-x86/msr.h for sanitized headers: clean it or punt it Mike Frysinger
2007-12-31  5:51 ` H. Peter Anvin
2007-12-31 12:26 ` Andi Kleen
2007-12-31 15:33   ` Mike Frysinger
2007-12-31 16:36     ` Andi Kleen
2007-12-31 18:10       ` Mike Frysinger
2007-12-31 18:15         ` H. Peter Anvin
2007-12-31 18:49           ` Mike Frysinger
2008-01-01 15:47             ` Ingo Molnar
2008-01-02  1:20             ` Adrian Bunk

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