diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-10-18 00:23:26 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-10-18 19:27:30 +0300 |
commit | a62f4ca106fd250e9247decd100f3905131fc1fe (patch) | |
tree | ca6390e5e813052afce2fdaa0e49c654ef47dd8b /arch/x86/Kconfig | |
parent | 1e2dd572d2b773b5b8882aae66e5f0328d562aa9 (diff) | |
download | linux-a62f4ca106fd250e9247decd100f3905131fc1fe.tar.xz |
x86/boot/32: De-uglify the 2/3 level paging difference in mk_early_pgtbl_32()
Move the ifdeffery out of the function and use proper typedefs to make it
work for both 2 and 3 level paging.
No functional change.
[ bp: Move mk_early_pgtbl_32() declaration into a header. ]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231017211722.111059491@linutronix.de
Diffstat (limited to 'arch/x86/Kconfig')
0 files changed, 0 insertions, 0 deletions