]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
xen/riscv: remove dummy_bss variable
authorOleksii Kurochko <oleksii.kurochko@gmail.com>
Wed, 31 May 2023 10:00:13 +0000 (12:00 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 31 May 2023 10:00:13 +0000 (12:00 +0200)
After introduction of initial pagetables there is no any sense
in dummy_bss variable as bss section will not be empty anymore.

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Bobby Eshleman <bobbyeshleman@gmail.com>
xen/arch/riscv/setup.c

index cf5dc5824ea1e70122832f0782f347872eba0a6b..845d18d86f32da9645699ec911ebfffb847c0e29 100644 (file)
@@ -8,14 +8,6 @@
 unsigned char __initdata cpu0_boot_stack[STACK_SIZE]
     __aligned(STACK_SIZE);
 
-/*  
- * To be sure that .bss isn't zero. It will simplify code of
- * .bss initialization.
- * TODO:
- *   To be deleted when the first real .bss user appears
- */
-int dummy_bss __attribute__((unused));
-
 void __init noreturn start_xen(unsigned long bootcpu_id,
                                paddr_t dtb_addr)
 {