xen: correct size of level2_kernel_pgt
authorIan Campbell <ian.campbell@citrix.com>
Fri, 29 Oct 2010 15:56:19 +0000 (16:56 +0100)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 29 Oct 2010 19:23:57 +0000 (12:23 -0700)
commita2d771c036eb8c040683089ca04c36dfb93a0e60
tree55394b437f5dcd0f67027ed9d00cf7c3114f821f
parent18cb657ca1bafe635f368346a1676fb04c512edf
xen: correct size of level2_kernel_pgt

sizeof(pmd_t *) is 4 bytes on 32-bit PAE leading to an allocation of
only 2048 bytes. The correct size is sizeof(pmd_t) giving us a full
page allocation.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/mmu.c