From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: [patch 09/54] Staging: hv: use the correct #ifdef for x86-64 Date: Fri, 17 Jul 2009 11:08:59 -0700 Message-ID: <20090717180917.291210440@mini.kroah.org> References: <20090717180850.873962925@mini.kroah.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline; filename=staging-hv-use-the-correct-ifdef-for-x86-64.patch In-Reply-To: <20090720160025.GA20249@kroah.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, virtualization@lists.osdl.org Cc: Sam Ramji , Haiyang Zhang , Hank Janssen , shemminger@linux-foundation.org List-Id: virtualization@lists.linuxfoundation.org From: Greg Kroah-Hartman x86-64 needs a different config check. Thanks to Hank for the debugging to determine the fix for this. Cc: Hank Janssen Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/Hv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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;