From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Richter Subject: Re: [PATCH 7/7] sh: Annotate oprofile_arch_exit() with __exit marker Date: Wed, 6 Oct 2010 20:37:05 +0200 Message-ID: <20101006183705.GX13563@erda.amd.com> References: <4426d17460dc88dcb3d6e3af1b91af4db83785ae.1286222593.git.matt@console-pimps.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <4426d17460dc88dcb3d6e3af1b91af4db83785ae.1286222593.git.matt@console-pimps.org> Sender: linux-sh-owner@vger.kernel.org To: Matt Fleming Cc: Will Deacon , Paul Mundt , Russell King , "linux-arm-kernel@lists.infradead.org" , "linux-sh@vger.kernel.org" , Peter Zijlstra , Ingo Molnar , Frederic Weisbecker , Arnaldo Carvalho de Melo , "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Deng-Cheng Zhu , Grant Likely List-Id: linux-arch.vger.kernel.org On 04.10.10 16:44:25, Matt Fleming wrote: > In order to avoid a section mismatch we need to annotate > oprofile_arch_exit() with an __exit marker. > > Signed-off-by: Matt Fleming Looks good. -Robert > --- > arch/sh/oprofile/common.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/sh/oprofile/common.c b/arch/sh/oprofile/common.c > index 449f842..93033d8 100644 > --- a/arch/sh/oprofile/common.c > +++ b/arch/sh/oprofile/common.c > @@ -29,7 +29,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) > return oprofile_perf_init(ops); > } > > -void oprofile_arch_exit(void) > +void __exit oprofile_arch_exit(void) > { > oprofile_perf_exit(); > } > -- > 1.7.1 > > -- Advanced Micro Devices, Inc. Operating System Research Center From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from db3ehsobe002.messaging.microsoft.com ([213.199.154.140]:19010 "EHLO DB3EHSOBE002.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759605Ab0JFSh3 (ORCPT ); Wed, 6 Oct 2010 14:37:29 -0400 Date: Wed, 6 Oct 2010 20:37:05 +0200 From: Robert Richter Subject: Re: [PATCH 7/7] sh: Annotate oprofile_arch_exit() with __exit marker Message-ID: <20101006183705.GX13563@erda.amd.com> References: <4426d17460dc88dcb3d6e3af1b91af4db83785ae.1286222593.git.matt@console-pimps.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <4426d17460dc88dcb3d6e3af1b91af4db83785ae.1286222593.git.matt@console-pimps.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Matt Fleming Cc: Will Deacon , Paul Mundt , Russell King , "linux-arm-kernel@lists.infradead.org" , "linux-sh@vger.kernel.org" , Peter Zijlstra , Ingo Molnar , Frederic Weisbecker , Arnaldo Carvalho de Melo , "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Deng-Cheng Zhu , Grant Likely Message-ID: <20101006183705.rvyeu5QAXvGDWmrgRuoVWJy07C4OuOCdLP90LdqxNOM@z> On 04.10.10 16:44:25, Matt Fleming wrote: > In order to avoid a section mismatch we need to annotate > oprofile_arch_exit() with an __exit marker. > > Signed-off-by: Matt Fleming Looks good. -Robert > --- > arch/sh/oprofile/common.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/sh/oprofile/common.c b/arch/sh/oprofile/common.c > index 449f842..93033d8 100644 > --- a/arch/sh/oprofile/common.c > +++ b/arch/sh/oprofile/common.c > @@ -29,7 +29,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) > return oprofile_perf_init(ops); > } > > -void oprofile_arch_exit(void) > +void __exit oprofile_arch_exit(void) > { > oprofile_perf_exit(); > } > -- > 1.7.1 > > -- Advanced Micro Devices, Inc. Operating System Research Center