From: Adrian Bunk <bunk@stusta.de>
To: Christoph Lameter <clameter@sgi.com>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] slub.c:early_kmem_cache_node_alloc() shouldn't be __init
Date: Tue, 10 Jul 2007 14:44:45 +0200 [thread overview]
Message-ID: <20070710124445.GX3492@stusta.de> (raw)
This patch fixes the following section mismatch:
<-- snip -->
...
MODPOST vmlinux
WARNING: mm/built-in.o(.text+0x24bd3): Section mismatch: reference to .init.text:early_kmem_cache_node_alloc (between 'init_kmem_cache_nodes' and 'calculate_sizes')
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
--- linux-2.6.22-rc6-mm1/mm/slub.c.old 2007-07-10 04:31:32.000000000 +0200
+++ linux-2.6.22-rc6-mm1/mm/slub.c 2007-07-10 04:31:52.000000000 +0200
@@ -1882,8 +1882,8 @@
* Note that this function only works on the kmalloc_node_cache
* when allocating for the kmalloc_node_cache.
*/
-static struct kmem_cache_node * __init early_kmem_cache_node_alloc(gfp_t gfpflags,
- int node)
+static struct kmem_cache_node *early_kmem_cache_node_alloc(gfp_t gfpflags,
+ int node)
{
struct page *page;
struct kmem_cache_node *n;
next reply other threads:[~2007-07-10 12:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-10 12:44 Adrian Bunk [this message]
2007-07-10 18:33 ` [2.6 patch] slub.c:early_kmem_cache_node_alloc() shouldn't be __init Christoph Lameter
2007-07-10 19:01 ` Adrian Bunk
2007-07-10 19:43 ` Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070710124445.GX3492@stusta.de \
--to=bunk@stusta.de \
--cc=clameter@sgi.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox