]> git.karo-electronics.de Git - linux-beck.git/commit
x86, asmlinkage, lguest: Pass in globals into assembler statement
authorAndi Kleen <ak@linux.intel.com>
Tue, 5 Nov 2013 10:52:28 +0000 (21:22 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 7 Nov 2013 01:43:05 +0000 (12:13 +1030)
commitcdd77e87eae52b7251acc5990207a1c4500a84ce
tree3d0bddb36432618ae04d8486e2ed4f4268d8a93f
parent4ae85370720156025e9cb873c13a0afb06ca1612
x86, asmlinkage, lguest: Pass in globals into assembler statement

Tell the compiler that the inline assembler statement
references lguest_entry.

This fixes compile problems with LTO where the variable
and the assembler code may end up in different files.

Cc: x86@kernel.org
Cc: rusty@rustcorp.com.au
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/x86/core.c