Commit 9d1869f
arm64: remove CONFIG_VMAP_STACK checks from entry code
With VMAP_STACK now always enabled on arm64, remove all CONFIG_VMAP_STACK
conditionals from entry handling in arch/arm64/kernel/entry-common.c and
arch/arm64/kernel/entry.S.
This change unconditionally includes the bad stack handling and overflow
detection logic, simplifying the code and reflecting the mandatory use of
VMAP_STACK for all arm64 kernel builds.
Signed-off-by: Breno Leitao <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>1 parent 3e72b9e commit 9d1869f
2 files changed
+0
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
980 | | - | |
981 | 980 | | |
982 | 981 | | |
983 | 982 | | |
| |||
986 | 985 | | |
987 | 986 | | |
988 | 987 | | |
989 | | - | |
990 | 988 | | |
991 | 989 | | |
992 | 990 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
100 | | - | |
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
| |||
540 | 538 | | |
541 | 539 | | |
542 | 540 | | |
543 | | - | |
544 | 541 | | |
545 | 542 | | |
546 | 543 | | |
| |||
568 | 565 | | |
569 | 566 | | |
570 | 567 | | |
571 | | - | |
572 | 568 | | |
573 | 569 | | |
574 | 570 | | |
| |||
1003 | 999 | | |
1004 | 1000 | | |
1005 | 1001 | | |
1006 | | - | |
1007 | 1002 | | |
1008 | 1003 | | |
1009 | 1004 | | |
| |||
1016 | 1011 | | |
1017 | 1012 | | |
1018 | 1013 | | |
1019 | | - | |
1020 | 1014 | | |
1021 | 1015 | | |
1022 | 1016 | | |
| |||
0 commit comments