projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09d50ff
)
Staging: hv: use the correct #ifdef for x86-64
author
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 17 Jul 2009 05:31:15 +0000
(22:31 -0700)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/Hv.c
b/drivers/staging/hv/Hv.c
index 093210713469e9f89c98ab29d7cab2195175dce1..4f080f0ddaed59442760bb1bc37f35da0ead9971 100644
(file)
--- a/
drivers/staging/hv/Hv.c
+++ b/
drivers/staging/hv/Hv.c
@@
-165,7
+165,7
@@
HvDoHypercall (
void* Output
)
{
-#ifdef
x
86_64
+#ifdef
CONFIG_X
86_64
UINT64 hvStatus=0;
UINT64 inputAddress = (Input)? GetPhysicalAddress(Input) : 0;
UINT64 outputAddress = (Output)? GetPhysicalAddress(Output) : 0;