Skip to contentSkip to conversation

sparse linux time.c nit

PATCH New Don Fry 1 participant 1 message Apr 6, 2005

lore
Share & tools
lore

Don Fry

author
#0 lore raw

PATCH 1/1 sparse linux time.c nit

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 <[email protected]>

arch/xen/i386/kernel/time.c renamed from arch/xen/i386/kernel/orig.time.c +1 -1
@@ -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();
Signature · 2 lines
Don Fry
[email protected]