Skip to content

Commit

Permalink
riscv: head: remove useless __PAGE_ALIGNED_BSS and .balign
Browse files Browse the repository at this point in the history
After commit 83e7b87 ("RISC-V: move empty_zero_page definition to
C and export it"), the empty_zero_page has been moved outside head.S,
the __PAGE_ALIGNED_BSS and .balign LoCs are useless, clean up them.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
  • Loading branch information
Jisheng Zhang authored and Palmer Dabbelt committed Jan 9, 2022
1 parent 1546541 commit 51f23e5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/riscv/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,3 @@ ENTRY(reset_regs)
ret
END(reset_regs)
#endif /* CONFIG_RISCV_M_MODE */

__PAGE_ALIGNED_BSS
/* Empty zero page */
.balign PAGE_SIZE

0 comments on commit 51f23e5

Please sign in to comment.