forked from luck/tmp_suning_uos_patched
Staging: hv: use the correct #ifdef for x86-64
x86-64 needs a different config check. Thanks to Hank for the debugging to determine the fix for this. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
09d50ff8a2
commit
530cf2070b
|
@ -165,7 +165,7 @@ HvDoHypercall (
|
||||||
void* Output
|
void* Output
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
#ifdef x86_64
|
#ifdef CONFIG_X86_64
|
||||||
UINT64 hvStatus=0;
|
UINT64 hvStatus=0;
|
||||||
UINT64 inputAddress = (Input)? GetPhysicalAddress(Input) : 0;
|
UINT64 inputAddress = (Input)? GetPhysicalAddress(Input) : 0;
|
||||||
UINT64 outputAddress = (Output)? GetPhysicalAddress(Output) : 0;
|
UINT64 outputAddress = (Output)? GetPhysicalAddress(Output) : 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user