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)
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>

No differences found