From: Jisheng Zhang Date: Sun, 28 Nov 2021 16:07:41 +0000 (+0800) Subject: riscv: head: remove useless __PAGE_ALIGNED_BSS and .balign X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=51f23e5318a0882068254e20d3999e9421cfd66e;p=uclinux-h8%2Flinux.git riscv: head: remove useless __PAGE_ALIGNED_BSS and .balign 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 Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S index 521c9ef74ffe..604d60292dd8 100644 --- a/arch/riscv/kernel/head.S +++ b/arch/riscv/kernel/head.S @@ -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