Re: asm-x86/msr.h for sanitized headers: clean it or punt it

From: H. Peter Anvin
Date: Mon Dec 31 2007 - 00:55:57 EST


Mike Frysinger wrote:
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@xxxxxxxxxx>

<asm/msr-index.h> is usable from userspace, <asm/msr.h> includes it for backwards compatibility.

Nothing else is wanted or needed.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/