mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
2bc0414ee0
Adding __initdata_* to asm-generic/sections.h Replaces a lot of open coded externs in arch/x86_64/* I had to change __bss_end to __bss_stop to match the other architectures. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 lines
625 B
C
18 lines
625 B
C
#ifndef _ASM_GENERIC_SECTIONS_H_
|
|
#define _ASM_GENERIC_SECTIONS_H_
|
|
|
|
/* References to section boundaries */
|
|
|
|
extern char _text[], _stext[], _etext[];
|
|
extern char _data[], _sdata[], _edata[];
|
|
extern char __bss_start[], __bss_stop[];
|
|
extern char __init_begin[], __init_end[];
|
|
extern char _sinittext[], _einittext[];
|
|
extern char _sextratext[] __attribute__((weak));
|
|
extern char _eextratext[] __attribute__((weak));
|
|
extern char _end[];
|
|
extern char __per_cpu_start[], __per_cpu_end[];
|
|
extern char __kprobes_text_start[], __kprobes_text_end[];
|
|
extern char __initdata_begin[], __initdata_end[];
|
|
|
|
#endif /* _ASM_GENERIC_SECTIONS_H_ */
|