diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-10-16 04:24:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:42:51 -0400 |
commit | 1cd7daa51baf0934882bf24a7ae378ec75df665e (patch) | |
tree | 496ea3e64fc65d01e37f5013b44354ceb8ed3712 /mm/slub.c | |
parent | d29eff7bca60c9ee401d691d4562a4abca8de543 (diff) |
slub.c:early_kmem_cache_node_alloc() shouldn't be __init
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')
...
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1878,8 +1878,8 @@ static void init_kmem_cache_node(struct kmem_cache_node *n) | |||
1878 | * Note that this function only works on the kmalloc_node_cache | 1878 | * Note that this function only works on the kmalloc_node_cache |
1879 | * when allocating for the kmalloc_node_cache. | 1879 | * when allocating for the kmalloc_node_cache. |
1880 | */ | 1880 | */ |
1881 | static struct kmem_cache_node * __init early_kmem_cache_node_alloc(gfp_t gfpflags, | 1881 | static struct kmem_cache_node *early_kmem_cache_node_alloc(gfp_t gfpflags, |
1882 | int node) | 1882 | int node) |
1883 | { | 1883 | { |
1884 | struct page *page; | 1884 | struct page *page; |
1885 | struct kmem_cache_node *n; | 1885 | struct kmem_cache_node *n; |