diff options
author | Thomas Gleixner <[email protected]> | 2023-10-17 23:23:26 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-10-18 18:27:30 +0200 |
commit | a62f4ca106fd250e9247decd100f3905131fc1fe (patch) | |
tree | ca6390e5e813052afce2fdaa0e49c654ef47dd8b /net/switchdev/switchdev.c | |
parent | 1e2dd572d2b773b5b8882aae66e5f0328d562aa9 (diff) |
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 <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions