linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]: remove __initdata from initkmem_list3
@ 2007-02-20 16:32 Prarit Bhargava
  0 siblings, 0 replies; only message in thread
From: Prarit Bhargava @ 2007-02-20 16:32 UTC (permalink / raw)
  To: linux-kernel, akpm, linux-mm; +Cc: Prarit Bhargava

Remove __initdata from initkmem_list3

Resolves MODPOST warning similar to:

WARNING: vmlinux - Section mismatch: reference to .init.data:initkmem_list3 from .text between 'set_up_list3s' (at offset 0xc046a3ed) and 's_start'

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

diff --git a/mm/slab.c b/mm/slab.c
index 70784b8..d97f252 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -305,7 +305,7 @@ struct kmem_list3 {
  * Need this for bootstrapping a per node allocator.
  */
 #define NUM_INIT_LISTS (2 * MAX_NUMNODES + 1)
-struct kmem_list3 __initdata initkmem_list3[NUM_INIT_LISTS];
+struct kmem_list3 initkmem_list3[NUM_INIT_LISTS];
 #define	CACHE_CACHE 0
 #define	SIZE_AC 1
 #define	SIZE_L3 (1 + MAX_NUMNODES)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-20 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 16:32 [PATCH]: remove __initdata from initkmem_list3 Prarit Bhargava

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