Skip to content
Commit cdd77e87 authored by Andi Kleen's avatar Andi Kleen Committed by Rusty Russell
Browse files

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: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 4ae85370
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment