* [PATCH] ppc32: trivial fix for e500 oprofile build
@ 2005-03-04 19:09 Kumar Gala
2005-03-09 18:59 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2005-03-04 19:09 UTC (permalink / raw)
To: akpm, greg; +Cc: linux-kernel, linuxppc-embedded
Andrew, Greg
Here is a patch for the new 2.6.11 release tree and for Linus.
Fix for trivial fix for 2.6.11 oprofile compilation on e500 based ppc.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
---
diff -Nru a/arch/ppc/oprofile/op_model_fsl_booke.c b/arch/ppc/oprofile/op_model_fsl_booke.c
--- a/arch/ppc/oprofile/op_model_fsl_booke.c 2005-03-04 13:02:52 -06:00
+++ b/arch/ppc/oprofile/op_model_fsl_booke.c 2005-03-04 13:02:52 -06:00
@@ -150,7 +150,6 @@
int is_kernel;
int val;
int i;
- unsigned int cpu = smp_processor_id();
/* set the PMM bit (see comment below) */
mtmsr(mfmsr() | MSR_PMM);
@@ -162,7 +161,7 @@
val = ctr_read(i);
if (val < 0) {
if (oprofile_running && ctr[i].enabled) {
- oprofile_add_sample(pc, is_kernel, i, cpu);
+ oprofile_add_pc(pc, is_kernel, i);
ctr_write(i, reset_value[i]);
} else {
ctr_write(i, 0);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ppc32: trivial fix for e500 oprofile build
2005-03-04 19:09 [PATCH] ppc32: trivial fix for e500 oprofile build Kumar Gala
@ 2005-03-09 18:59 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2005-03-09 18:59 UTC (permalink / raw)
To: Kumar Gala; +Cc: akpm, linux-kernel, linuxppc-embedded
On Fri, Mar 04, 2005 at 01:09:18PM -0600, Kumar Gala wrote:
> Andrew, Greg
>
> Here is a patch for the new 2.6.11 release tree and for Linus.
>
> Fix for trivial fix for 2.6.11 oprofile compilation on e500 based ppc.
>
> Signed-off-by: Andy Fleming <afleming@freescale.com>
> Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Added to the -stable queue, thanks.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-09 18:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-04 19:09 [PATCH] ppc32: trivial fix for e500 oprofile build Kumar Gala
2005-03-09 18:59 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).