[sparc32] [8/13] define cache_decay_ticks

From: William Lee Irwin III
Date: Wed Aug 04 2004 - 23:58:50 EST


On Wed, Aug 04, 2004 at 09:48:39PM -0700, William Lee Irwin III wrote:
> num_context_patch2 is never defined, only declared. However, these
> declarations generate an undefined symbol reference. So remove it.

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.

Index: mm2-2.6.8-rc2/arch/sparc/kernel/smp.c
===================================================================
--- mm2-2.6.8-rc2.orig/arch/sparc/kernel/smp.c
+++ mm2-2.6.8-rc2/arch/sparc/kernel/smp.c
@@ -45,6 +45,7 @@
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/