From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Richter Date: Wed, 06 Oct 2010 18:37:05 +0000 Subject: Re: [PATCH 7/7] sh: Annotate oprofile_arch_exit() with __exit Message-Id: <20101006183705.GX13563@erda.amd.com> List-Id: References: <4426d17460dc88dcb3d6e3af1b91af4db83785ae.1286222593.git.matt@console-pimps.org> In-Reply-To: <4426d17460dc88dcb3d6e3af1b91af4db83785ae.1286222593.git.matt@console-pimps.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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