[patch 1/2] add __[start|end]_rodata sections to asm-generic/sections.h

From: Heiko Carstens
Date: Fri Jun 30 2006 - 05:03:09 EST


From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>

Add __start_rodata and __end_rodata to sections.h to avoid extern declarations.
Needed by s390 code (see following patch).

Cc: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---

include/asm-generic/sections.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h
index 0b49f9e..962cad7 100644
--- a/include/asm-generic/sections.h
+++ b/include/asm-generic/sections.h
@@ -14,5 +14,6 @@ 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[];
+extern char __start_rodata[], __end_rodata[];

#endif /* _ASM_GENERIC_SECTIONS_H_ */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/