]> err.no Git - linux-2.6/commit
xen: fix address truncation in pte mfn<->pfn conversion
authorJeremy Fitzhardinge <jeremy@goop.org>
Fri, 4 Jul 2008 05:10:18 +0000 (22:10 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Jul 2008 09:31:20 +0000 (11:31 +0200)
commitd8355aca23863be659ec5b7e0393cfbfa91ec221
treecd6b96eef8ac85df2519dd0f64c5f2a458b22b3f
parent27df66a406a171308b138bd84938cb735392e15c
xen: fix address truncation in pte mfn<->pfn conversion

When converting the page number in a pte/pmd/pud/pgd between
machine and pseudo-physical addresses, the converted result was
being truncated at 32-bits.  This caused failures on machines
with more than 4G of physical memory.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: "Christopher S. Aker" <caker@theshore.net>
Cc: Ian Campbell <Ian.Campbell@eu.citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/mmu.c