Skip to content

Commit 1cd7daa

Browse files
AdrianBunkLinus Torvalds
authored andcommitted
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>
1 parent d29eff7 commit 1cd7daa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎mm/slub.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,8 +1878,8 @@ static void init_kmem_cache_node(struct kmem_cache_node *n)
18781878
* Note that this function only works on the kmalloc_node_cache
18791879
* when allocating for the kmalloc_node_cache.
18801880
*/
1881-
static struct kmem_cache_node * __init early_kmem_cache_node_alloc(gfp_t gfpflags,
1882-
int node)
1881+
static struct kmem_cache_node *early_kmem_cache_node_alloc(gfp_t gfpflags,
1882+
int node)
18831883
{
18841884
struct page *page;
18851885
struct kmem_cache_node *n;

0 commit comments

Comments
 (0)