Re: [PATCH v2 2/2] powerpc: oprofile: enable support for ppc750 processors

2009-02-27 Thread Octavian Purdila
From: Benjamin Herrenschmidt > On Thu, 2009-02-26 at 16:30 -0600, Andy Fleming wrote: > > I know this saves you some code, but it seems hacky. It would be > > better to modify oprofile to detect the proper cpu type. Also, this > > will screw things up if you try to use the different event set t

Re: [PATCH v2 2/2] powerpc: oprofile: enable support for ppc750 processors

2009-02-26 Thread Benjamin Herrenschmidt
On Thu, 2009-02-26 at 16:30 -0600, Andy Fleming wrote: > > I know this saves you some code, but it seems hacky. It would be > better to modify oprofile to detect the proper cpu type. Also, this > will screw things up if you try to use the different event set that > the 750 has. Agreed. Note tha

Re: [PATCH v2 2/2] powerpc: oprofile: enable support for ppc750 processors

2009-02-26 Thread Andy Fleming
On Tue, Feb 24, 2009 at 6:09 AM, Octavian Purdila wrote: > Signed-off-by: Octavian Purdila > --- >  arch/powerpc/kernel/cputable.c |    6 ++ >  1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c > index 923f87a..4e

[PATCH v2 2/2] powerpc: oprofile: enable support for ppc750 processors

2009-02-24 Thread Octavian Purdila
Signed-off-by: Octavian Purdila --- arch/powerpc/kernel/cputable.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index 923f87a..4e20cfb 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/ke