From: Don Fry Subject: [PATCH] sparse linux time.c nit Date: Tue, 5 Apr 2005 17:02:07 -0700 Message-ID: <20050406000207.GA2246@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This reduces the amount of space required for the timer_name from 7k to 120 bytes for an 8 CPU system. Signed-off-by Don Fry --- linux-2.6.11-xen-sparse/arch/xen/i386/kernel/orig.time.c 2005-04-05 11:13:35.000000000 -0700 +++ linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c 2005-04-05 16:56:37.000000000 -0700 @@ -762,7 +762,7 @@ void time_resume(void) } #ifdef CONFIG_SMP -static char timer_name[NR_IRQS][15]; +static char timer_name[NR_CPUS][15]; void local_setup_timer(void) { int seq, cpu = smp_processor_id(); -- Don Fry brazilnut@us.ibm.com