diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-16 22:31:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:44 -0700 |
commit | 530cf2070be30831a371b6c7181d15e5976b6fc7 (patch) | |
tree | 7f74e96c8a3c36a7b078d59c00277cf5b5cf7c38 | |
parent | 09d50ff8a233a39e8697e776b06cf5be2de48bb1 (diff) | |
download | op-kernel-dev-530cf2070be30831a371b6c7181d15e5976b6fc7.zip op-kernel-dev-530cf2070be30831a371b6c7181d15e5976b6fc7.tar.gz |
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>
-rw-r--r-- | drivers/staging/hv/Hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c index 0932107..4f080f0d 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; |