]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86_64/setup: unconditionally populate the pgd
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 1 Jul 2008 23:46:33 +0000 (16:46 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:16:27 +0000 (13:16 +0200)
commit574977a2edde0148ea365008dceb0c2594d10b11
treef20b4093034b5a9293dba7bc132778aebbe41e26
parentaea5f9f89bae5d5f9eb3fe3cddedbbfb82e6e44f
x86_64/setup: unconditionally populate the pgd

When allocating a new pud, unconditionally populate the pgd (why did
we bother to create a new pud if we weren't going to populate it?).

This will only happen if the pgd slot was empty, since any existing
pud will be reused.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_64.c