linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch bugfix] UV system table in bios accessed after unmap
@ 2009-03-30 22:52 Russ Anderson
  0 siblings, 0 replies; only message in thread
From: Russ Anderson @ 2009-03-30 22:52 UTC (permalink / raw)
  To: linux-next, Ingo Molnar; +Cc: Russ Anderson

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>

---
 arch/x86/kernel/bios_uv.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-next/arch/x86/kernel/bios_uv.c
===================================================================
--- linux-next.orig/arch/x86/kernel/bios_uv.c	2009-03-30 17:39:26.622178261 -0500
+++ linux-next/arch/x86/kernel/bios_uv.c	2009-03-30 17:44:12.703957062 -0500
@@ -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 */
 
-- 
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          rja@sgi.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-30 22:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-30 22:52 [patch bugfix] UV system table in bios accessed after unmap Russ Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).