From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764920AbYA3UKU (ORCPT ); Wed, 30 Jan 2008 15:10:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761457AbYA3UCm (ORCPT ); Wed, 30 Jan 2008 15:02:42 -0500 Received: from smtp5.pp.htv.fi ([213.243.153.39]:37637 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757191AbYA3UCj (ORCPT ); Wed, 30 Jan 2008 15:02:39 -0500 Date: Wed, 30 Jan 2008 22:03:13 +0200 From: Adrian Bunk To: paulus@samba.org Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: [2.6 patch] powerpc: free_property() mustn't be __init Message-ID: <20080130200313.GG29368@does.not.exist> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --> Signed-off-by: Adrian Bunk --- 99e9b48d8f5aba059916540fc69815db2b60b08d diff --git a/arch/powerpc/platforms/iseries/vio.c b/arch/powerpc/platforms/iseries/vio.c index be06cfd..657b72f 100644 --- a/arch/powerpc/platforms/iseries/vio.c +++ b/arch/powerpc/platforms/iseries/vio.c @@ -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); }