diff mbox series

x86/setup: drop stale declarations of __bss_{start,end}[]

Message ID f365e970-006d-4bcb-aa39-6d6bc99395a9@suse.com (mailing list archive)
State New, archived
Headers show
Series x86/setup: drop stale declarations of __bss_{start,end}[] | expand

Commit Message

Jan Beulich Feb. 27, 2023, 9:32 a.m. UTC
There are no references anymore as of c9a4a1c419ce ("x86/layout: Correct
Xen's idea of its own memory layout"). For what's left, switch to
"unsigned char" as here we're not dealing with strings of any kind.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Comments

Andrew Cooper Feb. 27, 2023, 11:27 a.m. UTC | #1
On 27/02/2023 9:32 am, Jan Beulich wrote:
> There are no references anymore as of c9a4a1c419ce ("x86/layout: Correct
> Xen's idea of its own memory layout"). For what's left, switch to
> "unsigned char" as here we're not dealing with strings of any kind.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
diff mbox series

Patch

--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -305,7 +305,7 @@  void __init discard_initial_images(void)
     initial_images = NULL;
 }
 
-extern char __init_begin[], __init_end[], __bss_start[], __bss_end[];
+extern unsigned char __init_begin[], __init_end[];
 
 static void __init init_idle_domain(void)
 {