]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/head/64: Move early exception dispatch to C code
authorJoerg Roedel <jroedel@suse.de>
Mon, 7 Sep 2020 13:15:36 +0000 (15:15 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 7 Sep 2020 20:49:18 +0000 (22:49 +0200)
commit4b47cdbda6f1ad73b08dc7d497bac12b8f26ae0d
tree2be0b466d6a1c850b221fac50f2658b2afc8b16a
parent097ee5b778b8970e1c2ed3ca1631b297d90acd61
x86/head/64: Move early exception dispatch to C code

Move the assembly coded dispatch between page-faults and all other
exceptions to C code to make it easier to maintain and extend.

Also change the return-type of early_make_pgtable() to bool and make it
static.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200907131613.12703-36-joro@8bytes.org
arch/x86/include/asm/pgtable.h
arch/x86/include/asm/setup.h
arch/x86/kernel/head64.c
arch/x86/kernel/head_64.S