From: Greg Kroah-Hartman Date: Fri, 17 Jul 2009 05:31:15 +0000 (-0700) Subject: Staging: hv: use the correct #ifdef for x86-64 X-Git-Tag: firefly_0821_release~12948^2~488 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=530cf2070be30831a371b6c7181d15e5976b6fc7;p=firefly-linux-kernel-4.4.55.git 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 Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c index 093210713469..4f080f0ddaed 100644 --- a/drivers/staging/hv/Hv.c +++ b/drivers/staging/hv/Hv.c @@ -165,7 +165,7 @@ HvDoHypercall ( void* Output ) { -#ifdef x86_64 +#ifdef CONFIG_X86_64 UINT64 hvStatus=0; UINT64 inputAddress = (Input)? GetPhysicalAddress(Input) : 0; UINT64 outputAddress = (Output)? GetPhysicalAddress(Output) : 0;