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

From: Russ Anderson
Date: Tue Apr 21 2009 - 10:37:32 EST


Pass PAGE_OFFSET to bios for runtime access to chipset registers.

Signed-off-by: Russ Anderson <rja@xxxxxxx>

---
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 rja@xxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/