x86: fix asm-x86/msr.h for user-space export
authorMike Frysinger <vapier@gentoo.org>
Tue, 1 Jan 2008 18:12:15 +0000 (19:12 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 1 Jan 2008 18:12:15 +0000 (19:12 +0100)
commit56986d4210e5077d67e4eff538a316a6cc4e5158
treef638e1297e3bfac457259f57b26bebe9aeeee1c7
parente0c4ae06495494a38843da8445e2b6e1f59b9253
x86: fix asm-x86/msr.h for user-space export

Use __asm__ and __volatile__ in code that is exported to userspace.  Wrap
kernel functions with __KERNEL__ so they get scrubbed.

No code changed:

   text    data     bss     dec     hex    filename
   9681036 1698924 3407872 14787832 e1a4f8 vmlinux.before
   9681036 1698924 3407872 14787832 e1a4f8 vmlinux.after

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/msr.h