Commit 1a544e65 authored by Russ Anderson's avatar Russ Anderson Committed by Ingo Molnar

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: default avatarRuss Anderson <rja@sgi.com>
LKML-Reference: <20090330225240.GA22776@sgi.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c4c4688f
...@@ -182,7 +182,8 @@ void uv_bios_init(void) ...@@ -182,7 +182,8 @@ void uv_bios_init(void)
memcpy(&uv_systab, tab, sizeof(struct uv_systab)); memcpy(&uv_systab, tab, sizeof(struct uv_systab));
iounmap(tab); 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 */ #else /* !CONFIG_EFI */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment