Skip to content

Commit

Permalink
x86, UV: system table in bios accessed after unmap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russ Anderson authored and Ingo Molnar committed Apr 3, 2009
1 parent c4c4688 commit 1a544e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/x86/kernel/bios_uv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 1a544e6

Please sign in to comment.