diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-02-03 22:57:22 +0100 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-02-07 14:07:01 +0100 |
commit | 5a7670ee23f2c07a639c263b70140eaf1da9f68f (patch) | |
tree | c757539174ba4cde79f9d2eb1ae6e17da531ef50 /include/xen | |
parent | xen/manage: correct return value check on xenbus_scanf() (diff) | |
download | linux-5a7670ee23f2c07a639c263b70140eaf1da9f68f.tar.xz linux-5a7670ee23f2c07a639c263b70140eaf1da9f68f.zip |
x86/boot/32: Convert the 32-bit pgtable setup code from assembly to C
The new Xen PVH entry point requires page tables to be setup by the
kernel since it is entered with paging disabled.
Pull the common code out of head_32.S so that mk_early_pgtbl_32() can be
invoked from both the new Xen entry point and the existing startup_32()
code.
Convert resulting common code to C.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: matt@codeblueprint.co.uk
Cc: xen-devel@lists.xenproject.org
Link: http://lkml.kernel.org/r/1481215471-9639-1-git-send-email-boris.ostrovsky@oracle.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions