]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xen: fix for xen guest with mem > 3.7G
authorJeremy Fitzhardinge <jeremy@goop.org>
Sun, 14 Sep 2008 14:42:23 +0000 (07:42 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Sep 2008 14:46:34 +0000 (16:46 +0200)
commit5670a43d710a12fcbbfaefd3991002768b488d82
tree98b723489f895fa9080c72a9abcbdf03945ef27e
parent0ad5bce7409d681a5655c66e64bb0eb740b89c1f
xen: fix for xen guest with mem > 3.7G

PFN_PHYS() can truncate large addresses unless its passed a suitable
large type.  This is fixed more generally in the patch series
introducing phys_addr_t, but we need a short-term fix to solve a
Xen regression reported by Roberto De Ioris.

Reported-by: Roberto De Ioris <roberto@unbit.it>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/setup.c