Subject: [patch] x86: UV: Pass PAGE_OFFSET to bios for runtime access to chipset registers.

From: Russ Anderson <[email-masked]>
Date: Tue, 21 Apr 2009 09:23:13 -0500

Pass PAGE_OFFSET to bios for runtime access to chipset registers.

Signed-off-by: Russ Anderson <[email-masked]>

---
 arch/x86/kernel/bios_uv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/arch/x86/kernel/bios_uv.c
===================================================================
--- linux.orig/arch/x86/kernel/bios_uv.c	2009-04-20 14:38:47.000000000 -0500
+++ linux/arch/x86/kernel/bios_uv.c	2009-04-20 14:41:01.000000000 -0500
@@ -84,7 +84,7 @@ s64 uv_bios_get_sn_info(int fc, int *uvt
 	union partition_info_u part;
 
 	ret = uv_bios_call_irqsave(UV_BIOS_GET_SN_INFO, fc,
-				(u64)(&v0), (u64)(&v1), 0, 0);
+				(u64)(&v0), (u64)(&v1), (u64)PAGE_OFFSET, 0);
 	if (ret != BIOS_STATUS_SUCCESS)
 		return ret;
 
-- 
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          [email-masked]