From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Richter Subject: Re: [PATCH 2/6] ARM: oprofile: Rename op_arm to oprofile_perf Date: Thu, 16 Sep 2010 14:46:56 +0200 Message-ID: <20100916124656.GY13563@erda.amd.com> References: <61369979994f435ba2ac62f06717644d722ee002.1284357372.git.matt@console-pimps.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <61369979994f435ba2ac62f06717644d722ee002.1284357372.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" List-Id: linux-arch.vger.kernel.org On 13.09.10 02:07:33, Matt Fleming wrote: > In preparation for moving the generic functions out of this file, give > the functions more general names (e.g. remove "arm" from the names). > > Signed-off-by: Matt Fleming > --- > arch/arm/oprofile/common.c | 68 ++++++++++++++++++++++---------------------- > 1 files changed, 34 insertions(+), 34 deletions(-) > static struct platform_driver oprofile_driver = { > .driver = { > - .name = "arm-oprofile", > + .name = "perf-oprofile", This should be "oprofile-perf" instead, otherwise the driver belongs to perf. -Robert > }, > - .resume = op_arm_resume, > - .suspend = op_arm_suspend, > + .resume = oprofile_perf_resume, > + .suspend = oprofile_perf_suspend, > }; -- Advanced Micro Devices, Inc. Operating System Research Center From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Richter Date: Thu, 16 Sep 2010 12:46:56 +0000 Subject: Re: [PATCH 2/6] ARM: oprofile: Rename op_arm to oprofile_perf Message-Id: <20100916124656.GY13563@erda.amd.com> List-Id: References: <61369979994f435ba2ac62f06717644d722ee002.1284357372.git.matt@console-pimps.org> In-Reply-To: <61369979994f435ba2ac62f06717644d722ee002.1284357372.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" On 13.09.10 02:07:33, Matt Fleming wrote: > In preparation for moving the generic functions out of this file, give > the functions more general names (e.g. remove "arm" from the names). > > Signed-off-by: Matt Fleming > --- > arch/arm/oprofile/common.c | 68 ++++++++++++++++++++++---------------------- > 1 files changed, 34 insertions(+), 34 deletions(-) > static struct platform_driver oprofile_driver = { > .driver = { > - .name = "arm-oprofile", > + .name = "perf-oprofile", This should be "oprofile-perf" instead, otherwise the driver belongs to perf. -Robert > }, > - .resume = op_arm_resume, > - .suspend = op_arm_suspend, > + .resume = oprofile_perf_resume, > + .suspend = oprofile_perf_suspend, > }; -- Advanced Micro Devices, Inc. Operating System Research Center From mboxrd@z Thu Jan 1 00:00:00 1970 From: robert.richter@amd.com (Robert Richter) Date: Thu, 16 Sep 2010 14:46:56 +0200 Subject: [PATCH 2/6] ARM: oprofile: Rename op_arm to oprofile_perf In-Reply-To: <61369979994f435ba2ac62f06717644d722ee002.1284357372.git.matt@console-pimps.org> References: <61369979994f435ba2ac62f06717644d722ee002.1284357372.git.matt@console-pimps.org> Message-ID: <20100916124656.GY13563@erda.amd.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 13.09.10 02:07:33, Matt Fleming wrote: > In preparation for moving the generic functions out of this file, give > the functions more general names (e.g. remove "arm" from the names). > > Signed-off-by: Matt Fleming > --- > arch/arm/oprofile/common.c | 68 ++++++++++++++++++++++---------------------- > 1 files changed, 34 insertions(+), 34 deletions(-) > static struct platform_driver oprofile_driver = { > .driver = { > - .name = "arm-oprofile", > + .name = "perf-oprofile", This should be "oprofile-perf" instead, otherwise the driver belongs to perf. -Robert > }, > - .resume = op_arm_resume, > - .suspend = op_arm_suspend, > + .resume = oprofile_perf_resume, > + .suspend = oprofile_perf_suspend, > }; -- Advanced Micro Devices, Inc. Operating System Research Center