]> git.baikalelectronics.ru Git - kernel.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)
commit8618a085ca0f1b8ddb61501ee803430a1a73b402
tree98b723489f895fa9080c72a9abcbdf03945ef27e
parent1808373dbc7dfb1fb2439d1306936cf6937652b7
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