Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261450AbUKIJN4 (ORCPT ); Tue, 9 Nov 2004 04:13:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261453AbUKIJNz (ORCPT ); Tue, 9 Nov 2004 04:13:55 -0500 Received: from witte.sonytel.be ([80.88.33.193]:47606 "EHLO witte.sonytel.be") by vger.kernel.org with ESMTP id S261450AbUKIJNm (ORCPT ); Tue, 9 Nov 2004 04:13:42 -0500 Date: Tue, 9 Nov 2004 10:13:20 +0100 (MET) From: Geert Uytterhoeven To: Kumar Gala cc: Andrew Morton , Linux/PPC Development , Paul Mackerras , Linux Kernel Development Subject: Re: [PATCH][PPC32] Add performance counters to cpu_spec In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1346 Lines: 38 On Mon, 8 Nov 2004, Kumar Gala wrote: > Adds the number of performance monitor counters each PowerPC processor has to > the cpu table. Makes oprofile support a bit cleaner since we dont need a case > statement on processor version to determine the number of counters. > > Signed-off-by: Kumar Gala > > -- > > diff -Nru a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c > --- a/arch/ppc/kernel/cputable.c 2004-11-08 21:02:51 -06:00 > +++ b/arch/ppc/kernel/cputable.c 2004-11-08 21:02:51 -06:00 > @@ -82,6 +82,7 @@ > CPU_FTR_601 | CPU_FTR_HPTE_TABLE, > COMMON_PPC | PPC_FEATURE_601_INSTR | PPC_FEATURE_UNIFIED_CACHE, > 32, 32, > + 0, > __setup_cpu_601 > }, > { /* 603 */ Perhaps you want to switch to C99-style struct initialization as well? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/