Thread (3 messages) flat view 3 messages, 3 authors, 2004-11-09

Re: [PATCH][PPC32] Add performance counters to cpu_spec

From: Kumar Gala <hidden>
Date: 2004-11-09 14:27:57
Also in: lkml

On Nov 9, 2004, at 3:13 AM, Geert Uytterhoeven wrote:
On Mon, 8 Nov 2004, Kumar Gala wrote:
 > Adds the number of performance monitor counters each PowerPC=20
processor has to
 > the cpu table.=A0 Makes oprofile support a bit cleaner since we =
dont=20
need a case
 > statement on processor version to determine the number of counters.
 >
quoted
Signed-off-by: Kumar Gala <redacted>

--
 >
quoted
diff -Nru a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c
--- a/arch/ppc/kernel/cputable.c=A0=A0=A0=A0=A0 2004-11-08 21:02:51 =
-06:00
 > +++ b/arch/ppc/kernel/cputable.c=A0=A0=A0=A0=A0 2004-11-08 21:02:51 =
-06:00
 > @@ -82,6 +82,7 @@
 >=A0 =A0=A0=A0=A0 CPU_FTR_601 | CPU_FTR_HPTE_TABLE,
quoted
=A0 =A0=A0=A0=A0 COMMON_PPC | PPC_FEATURE_601_INSTR | =
PPC_FEATURE_UNIFIED_CACHE,
quoted
=A0 =A0=A0=A0=A0 32, 32,
 > +=A0=A0=A0=A0 0,
 >=A0 =A0=A0=A0=A0 __setup_cpu_601
quoted
=A0=A0=A0=A0=A0 },
 >=A0=A0=A0=A0=A0 {=A0=A0=A0=A0=A0=A0=A0 /* 603 */

Perhaps you want to switch to C99-style struct initialization as well?
I can change it C99-style as well as fixing the formatting, just wanted=20=

to see if there we any other comments.  Will resend with those changes=20=

if I dont hear any other feedback.

- kumar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help