x86, 64-bit: split set_pte_vaddr()
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 25 Jun 2008 04:19:22 +0000 (00:19 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:11:09 +0000 (13:11 +0200)
commit0814e0bace537b7024b09187346b99401e6281be
tree649a0a3e48e9fdef2c3ad3c96392936cc262a798
parent4f30cb0262847392d8d006042f24bd90abd24f9d
x86, 64-bit: split set_pte_vaddr()

We will need to set a pte on l3_user_pgt. Extract set_pte_vaddr_pud()
from set_pte_vaddr(), that will accept the l3 page table as parameter.

This change should be a no-op for existing code.

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