diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-09-07 16:15:36 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-09-07 23:49:18 +0300 |
commit | 4b47cdbda6f1ad73b08dc7d497bac12b8f26ae0d (patch) | |
tree | 2be0b466d6a1c850b221fac50f2658b2afc8b16a /arch/x86/include/asm/pgtable.h | |
parent | 097ee5b778b8970e1c2ed3ca1631b297d90acd61 (diff) | |
download | linux-4b47cdbda6f1ad73b08dc7d497bac12b8f26ae0d.tar.xz |
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
Diffstat (limited to 'arch/x86/include/asm/pgtable.h')
-rw-r--r-- | arch/x86/include/asm/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index b836138ce852..7b8f2127de37 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h @@ -28,7 +28,7 @@ #include <asm-generic/pgtable_uffd.h> extern pgd_t early_top_pgt[PTRS_PER_PGD]; -int __init __early_make_pgtable(unsigned long address, pmdval_t pmd); +bool __init __early_make_pgtable(unsigned long address, pmdval_t pmd); void ptdump_walk_pgd_level(struct seq_file *m, struct mm_struct *mm); void ptdump_walk_pgd_level_debugfs(struct seq_file *m, struct mm_struct *mm, |