|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] x86/PAE linux: don't restrict upper half of page tab
.. when dumping the page table contents during an oops.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Index: head-2006-12-01/arch/i386/mm/fault-xen.c
===================================================================
--- head-2006-12-01.orig/arch/i386/mm/fault-xen.c 2007-01-05
17:14:18.000000000 +0100
+++ head-2006-12-01/arch/i386/mm/fault-xen.c 2007-01-05 17:17:54.000000000
+0100
@@ -225,7 +225,7 @@ static void dump_fault_path(unsigned lon
p += (address >> 30) * 2;
printk(KERN_ALERT "%08lx -> *pde = %08lx:%08lx\n", page, p[1], p[0]);
if (p[0] & 1) {
- mfn = (p[0] >> PAGE_SHIFT) | ((p[1] & 0x7) << 20);
+ mfn = (p[0] >> PAGE_SHIFT) | (p[1] << 20);
page = mfn_to_pfn(mfn) << PAGE_SHIFT;
p = (unsigned long *)__va(page);
address &= 0x3fffffff;
@@ -234,7 +234,7 @@ static void dump_fault_path(unsigned lon
page, p[1], p[0]);
#ifndef CONFIG_HIGHPTE
if (p[0] & 1) {
- mfn = (p[0] >> PAGE_SHIFT) | ((p[1] & 0x7) << 20);
+ mfn = (p[0] >> PAGE_SHIFT) | (p[1] << 20);
page = mfn_to_pfn(mfn) << PAGE_SHIFT;
p = (unsigned long *) __va(page);
address &= 0x001fffff;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] x86/PAE linux: don't restrict upper half of page table entries to 3 bits,
Jan Beulich <=
|
|
|
|
|