Re: [patch 1/2] add __[start|end]_rodata sections to asm-generic/sections.h
- From: Andrew Morton <akpm@xxxxxxxx>
- Date: Fri, 30 Jun 2006 02:43:21 -0700
On Fri, 30 Jun 2006 11:03:21 +0200
Heiko Carstens <heiko.carstens@xxxxxxxxxx> wrote:
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[];
OK. I'll queue this up and will clean up x86, parisc and x86_64 to suit.
The second patch could go via the shiny new s390 git tree if you like. Or
I can handle it, but I don't know if it's a for-2.6.18 thing.
-
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/
- References:
- [patch 1/2] add __[start|end]_rodata sections to asm-generic/sections.h
- From: Heiko Carstens
- [patch 1/2] add __[start|end]_rodata sections to asm-generic/sections.h
- Prev by Date: [PATCH] EXT3: ext3 block bitmap leakage
- Next by Date: Re: + via-pata-controller-xfer-fixes.patch added to -mm tree
- Previous by thread: [patch 1/2] add __[start|end]_rodata sections to asm-generic/sections.h
- Next by thread: [patch 2/2] s390: put sys_call_table into .rodata section and write protect it
- Index(es):
Relevant Pages
|
|