|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] 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 <brazilnut@xxxxxxxxxx>
--- 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@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] sparse linux time.c nit,
Don Fry <=
|
|
|
|
|