summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2013-10-22 18:07:55 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2014-01-30 07:17:17 +0100
commit824a2870098fa5364d49d4cd5a1f41544d9f6c65 (patch)
tree5a1fff8a0d26b7d75e7adbbbd50840ee2246d22a /arch/x86/kernel
parentx86, asmlinkage, lguest: Fix C functions used by inline assembler (diff)
downloadlinux-824a2870098fa5364d49d4cd5a1f41544d9f6c65.tar.xz
linux-824a2870098fa5364d49d4cd5a1f41544d9f6c65.zip
x86, asmlinkage, paravirt: Don't rely on local assembler labels
The paravirt patching code assumes that it can reference a local assembler label between two different top level assembler statements. This does not work with LTO where the assembler code may end up in different assembler files. Replace it with extern / global /asm linkage labels. This also removes one redundant copy of the macro. Cc: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1382458079-24450-4-git-send-email-andi@firstfloor.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions