mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:x86/uv] x86, UV: system table in bios accessed after unmap
       [not found] <20090330225240.GA22776@sgi.com>
@ 2009-04-03 17:33 ` Russ Anderson
  0 siblings, 0 replies; only message in thread
From: Russ Anderson @ 2009-04-03 17:33 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, rja, hpa, mingo, tglx, mingo

Commit-ID:  1a544e659cbfce178395e9a090a47d1907d0cfa8
Gitweb:     http://git.kernel.org/tip/1a544e659cbfce178395e9a090a47d1907d0cfa8
Author:     Russ Anderson <rja@sgi.com>
AuthorDate: Mon, 30 Mar 2009 17:52:40 -0500
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 3 Apr 2009 19:25:57 +0200

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>


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

diff --git a/arch/x86/kernel/bios_uv.c b/arch/x86/kernel/bios_uv.c
index f638827..63a88e1 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 */
 

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

only message in thread, other threads:[~2009-04-03 17:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20090330225240.GA22776@sgi.com>
2009-04-03 17:33 ` [tip:x86/uv] x86, 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

Powered by JetHome