Staging: hv: use the correct #ifdef for x86-64
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Jul 2009 05:31:15 +0000 (22:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:44 +0000 (12:01 -0700)
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>
drivers/staging/hv/Hv.c

index 093210713469e9f89c98ab29d7cab2195175dce1..4f080f0ddaed59442760bb1bc37f35da0ead9971 100644 (file)
@@ -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;