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
This commit is contained in:
Joerg Roedel 2020-09-07 15:15:36 +02:00 • committed by Borislav Petkov
commit 4b47cdbda6
4 changed files with 20 additions and 16 deletions