mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 1/2] add __[start|end]_rodata sections to asm-generic/sections.h
@ 2006-06-30  9:03 Heiko Carstens
  2006-06-30  9:43 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Heiko Carstens @ 2006-06-30  9:03 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Arjan van de Ven, Martin Schwidefsky, linux-kernel

From: Heiko Carstens <heiko.carstens@de.ibm.com>

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@infradead.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---

 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_ */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 1/2] add __[start|end]_rodata sections to asm-generic/sections.h
  2006-06-30  9:03 [patch 1/2] add __[start|end]_rodata sections to asm-generic/sections.h Heiko Carstens
@ 2006-06-30  9:43 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2006-06-30  9:43 UTC (permalink / raw)
  To: Heiko Carstens; +Cc: arjan, schwidefsky, linux-kernel

On Fri, 30 Jun 2006 11:03:21 +0200
Heiko Carstens <heiko.carstens@de.ibm.com> wrote:

> From: Heiko Carstens <heiko.carstens@de.ibm.com>
> 
> 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@infradead.org>
> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
> ---
> 
>  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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-30  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-30  9:03 [patch 1/2] add __[start|end]_rodata sections to asm-generic/sections.h Heiko Carstens
2006-06-30  9:43 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®