summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/Hv.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-17 05:31:15 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:44 (GMT)
commit530cf2070be30831a371b6c7181d15e5976b6fc7 (patch)
tree7f74e96c8a3c36a7b078d59c00277cf5b5cf7c38 /drivers/staging/hv/Hv.c
parent09d50ff8a233a39e8697e776b06cf5be2de48bb1 (diff)
downloadlinux-fsl-qoriq-530cf2070be30831a371b6c7181d15e5976b6fc7.tar.xz
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>
Diffstat (limited to 'drivers/staging/hv/Hv.c')
-rw-r--r--drivers/staging/hv/Hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c
index 0932107..4f080f0 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;