projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c4a251
)
arm64: head: Drop SWAPPER_TABLE_SHIFT
author
Gavin Shan
<gshan@redhat.com>
Mon, 14 Oct 2024 03:03:41 +0000
(13:03 +1000)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Wed, 16 Oct 2024 15:04:19 +0000
(16:04 +0100)
There is no users of SWAPPER_TABLE_SHIFT after commit
84b04d3e6bdb
("arm64: kernel: Create initial ID map from C code"). Just drop it.
Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link:
https://lore.kernel.org/r/20241014030341.995806-1-gshan@redhat.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/kernel-pgtable.h
patch
|
blob
|
history
diff --git
a/arch/arm64/include/asm/kernel-pgtable.h
b/arch/arm64/include/asm/kernel-pgtable.h
index
bf05a77
..
fd5a084
100644
(file)
--- a/
arch/arm64/include/asm/kernel-pgtable.h
+++ b/
arch/arm64/include/asm/kernel-pgtable.h
@@
-26,7
+26,6
@@
#define SWAPPER_SKIP_LEVEL 0
#endif
#define SWAPPER_BLOCK_SIZE (UL(1) << SWAPPER_BLOCK_SHIFT)
-#define SWAPPER_TABLE_SHIFT (SWAPPER_BLOCK_SHIFT + PAGE_SHIFT - 3)
#define SWAPPER_PGTABLE_LEVELS (CONFIG_PGTABLE_LEVELS - SWAPPER_SKIP_LEVEL)
#define INIT_IDMAP_PGTABLE_LEVELS (IDMAP_LEVELS - SWAPPER_SKIP_LEVEL)