]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.drivers/staging-hv-use-the-correct-ifdef-for-x86-64.patch
Fix oinkmaster patch.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.drivers / staging-hv-use-the-correct-ifdef-for-x86-64.patch
CommitLineData
2cb7cef9
BS
1From foo@baz Thu Jul 16 22:31:14 PDT 2009
2Date: Thu, 16 Jul 2009 22:31:15 -0700
3From: Greg Kroah-Hartman <gregkh@suse.de>
4Subject: Staging: hv: use the correct #ifdef for x86-64
5
6From: Greg Kroah-Hartman <gregkh@suse.de>
7
8x86-64 needs a different config check. Thanks to Hank for the debugging
9to determine the fix for this.
10
11Cc: Hank Janssen <hjanssen@microsoft.com>
12Cc: Haiyang Zhang <haiyangz@microsoft.com>
13Signed-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;