summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/bios_uv.c
diff options
context:
space:
mode:
authorRuss Anderson <rja@sgi.com>2009-03-30 17:52:40 -0500
committerIngo Molnar <mingo@elte.hu>2009-04-03 19:25:57 +0200
commit1a544e659cbfce178395e9a090a47d1907d0cfa8 (patch)
tree0259f066325c7267cf6409eaf9f897c212653845 /arch/x86/kernel/bios_uv.c
parentc4c4688f72e638708e5f6b5c259699de82a36fec (diff)
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 <rja@sgi.com> LKML-Reference: <20090330225240.GA22776@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/bios_uv.c')
-rw-r--r--arch/x86/kernel/bios_uv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/bios_uv.c b/arch/x86/kernel/bios_uv.c
index f63882728d9..63a88e1f987 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 */