OSDN Git Service

riscv: head: remove useless __PAGE_ALIGNED_BSS and .balign
authorJisheng Zhang <jszhang@kernel.org>
Sun, 28 Nov 2021 16:07:41 +0000 (00:07 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 9 Jan 2022 19:02:49 +0000 (11:02 -0800)
After commit 83e7b8769a08 ("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>
arch/riscv/kernel/head.S

index 521c9ef..604d602 100644 (file)
@@ -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