From: Russ Anderson Date: Mon, 30 Mar 2009 22:52:40 +0000 (-0500) Subject: x86, UV: system table in bios accessed after unmap X-Git-Tag: v2.6.30-rc3~72^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a544e659cbfce178395e9a090a47d1907d0cfa8;p=thirdparty%2Fkernel%2Flinux.git x86, UV: system table in bios accessed after unmap Use the copy of UV system table in kernel memory, not the one in bios after unmapping. Signed-off-by: Russ Anderson LKML-Reference: <20090330225240.GA22776@sgi.com> Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/bios_uv.c b/arch/x86/kernel/bios_uv.c index f63882728d918..63a88e1f987d3 100644 --- a/arch/x86/kernel/bios_uv.c +++ b/arch/x86/kernel/bios_uv.c @@ -182,7 +182,8 @@ void uv_bios_init(void) memcpy(&uv_systab, tab, sizeof(struct uv_systab)); iounmap(tab); - printk(KERN_INFO "EFI UV System Table Revision %d\n", tab->revision); + printk(KERN_INFO "EFI UV System Table Revision %d\n", + uv_systab.revision); } #else /* !CONFIG_EFI */