lkml.org 
[lkml]   [2007]   [Dec]   [31]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: asm-x86/msr.h for sanitized headers: clean it or punt it
FromAndi Kleen <>
DateMon, 31 Dec 2007 13:26:46 +0100
Mike Frysinger <vapier@gentoo.org> writes:

> 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.

Please don't -- asm/msr.h is very useful in user space for rdtscll et.al.
I use it all the time in test programs.

-Andi


\
 
 \ /
  Last update: 2007-12-31 13:31    [from the cache]
©2003-2008