Re: [patch 1/2] add __[start|end]_rodata sections toasm-generic/sections.h

From: Andrew Morton
Date: Fri Jun 30 2006 - 05:41:57 EST


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/