[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/PAE linux: don't restrict upper half of page table entries to 3 bits
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1168613286 0 # Node ID 3efc6a135cc396c0bdb81d9418a1f4e114b2a819 # Parent bad268302c58799d0eefc3ec30c3220dbc979b74 x86/PAE linux: don't restrict upper half of page table entries to 3 bits when dumping the page table contents during an oops. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- linux-2.6-xen-sparse/arch/i386/mm/fault-xen.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r bad268302c58 -r 3efc6a135cc3 linux-2.6-xen-sparse/arch/i386/mm/fault-xen.c --- a/linux-2.6-xen-sparse/arch/i386/mm/fault-xen.c Fri Jan 12 14:46:21 2007 +0000 +++ b/linux-2.6-xen-sparse/arch/i386/mm/fault-xen.c Fri Jan 12 14:48:06 2007 +0000 @@ -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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |