]> git.hungrycats.org Git - linux/commitdiff
[PATCH] sparc32: define cache_decay_ticks
authorWilliam Lee Irwin III <wli@holomorphy.com>
Sat, 7 Aug 2004 07:54:05 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 7 Aug 2004 07:54:05 +0000 (00:54 -0700)
cache_decay_ticks needs to be defined in order for the kernel to link.  This
placeholder is inaccurate, however, other, more grave SMP issues need to be
addressed first.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc/kernel/smp.c

index ff1c398d61911dce66636db584f680c9be75626d..46591a15eb43bb00a7dd04557f219c1334f7b1b0 100644 (file)
@@ -45,6 +45,7 @@ int smp_activated = 0;
 volatile int __cpu_number_map[NR_CPUS];
 volatile int __cpu_logical_map[NR_CPUS];
 cycles_t cacheflush_time = 0; /* XXX */
+unsigned long cache_decay_ticks = 100;
 
 cpumask_t cpu_online_map = CPU_MASK_NONE;
 cpumask_t phys_cpu_present_map = CPU_MASK_NONE;