From 56986d4210e5077d67e4eff538a316a6cc4e5158 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 1 Jan 2008 19:12:15 +0100 Subject: [PATCH] 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-format-patch failed