From 530cf2070be30831a371b6c7181d15e5976b6fc7 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 16 Jul 2009 22:31:15 -0700 Subject: [PATCH] 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 --- drivers/staging/hv/Hv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;