]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From foo@baz Thu Jul 16 22:31:14 PDT 2009 |
2 | Date: Thu, 16 Jul 2009 22:31:15 -0700 | |
3 | From: Greg Kroah-Hartman <gregkh@suse.de> | |
4 | Subject: Staging: hv: use the correct #ifdef for x86-64 | |
5 | ||
6 | From: Greg Kroah-Hartman <gregkh@suse.de> | |
7 | ||
8 | x86-64 needs a different config check. Thanks to Hank for the debugging | |
9 | to determine the fix for this. | |
10 | ||
11 | Cc: Hank Janssen <hjanssen@microsoft.com> | |
12 | Cc: Haiyang Zhang <haiyangz@microsoft.com> | |
13 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | |
14 | ||
15 | --- | |
16 | drivers/staging/hv/Hv.c | 2 +- | |
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
18 | ||
19 | --- a/drivers/staging/hv/Hv.c | |
20 | +++ b/drivers/staging/hv/Hv.c | |
21 | @@ -165,7 +165,7 @@ HvDoHypercall ( | |
22 | void* Output | |
23 | ) | |
24 | { | |
25 | -#ifdef x86_64 | |
26 | +#ifdef CONFIG_X86_64 | |
27 | UINT64 hvStatus=0; | |
28 | UINT64 inputAddress = (Input)? GetPhysicalAddress(Input) : 0; | |
29 | UINT64 outputAddress = (Output)? GetPhysicalAddress(Output) : 0; |