Skip to contentSkip to conversation

powerpc: free_property() mustn't be __init

PATCH In review Adrian Bunk 2 participants 2 messages Jan 30, 2008 – Feb 4, 2008 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: free_property() mustn't be __init

This patch fixes the following section mismatch:

<-- snip -->

...
WARNING: vmlinux.o(.text+0x55648): Section mismatch in reference from the function .free_node() to the function .init.text:.free_property()
...

<-- snip -->

---
99e9b48d8f5aba059916540fc69815db2b60b08d

arch/powerpc/platforms/iseries/vio.c +1 -1
index be06cfd..657b72f 100644
@@ -75,7 +75,7 @@ static struct property *new_property(const char *name, int length,
 	return np;
 }
 
-static void __init free_property(struct property *np)
+static void free_property(struct property *np)
 {
 	kfree(np);
 }
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Wed, 30 Jan 2008 22:03:13 +0200 Adrian Bunk <[email protected]> wrote:

This patch fixes the following section mismatch:

<-- snip -->

Quoted 7 lines

...
WARNING: vmlinux.o(.text+0x55648): Section mismatch in reference from the function .free_node() to the function .init.text:.free_property()
...

<-- snip -->

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/