[IA64] Shrink shadow_flush_counts to a short array to save 8k of per_cpu area.

Making allmodconfig will break the current build. This patch shrinks
the per_cpu__shadow_flush_counts from 16k to 8k which frees enough space
to allow allmodconfig to successfully complete.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=11338

Signed-off-by: Robin Holt <holt@sgi.com>
Acked-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by Robin Holt and committed by Tony Luck 97653f92 ea42b8ce

+4 -4
+4 -4
arch/ia64/kernel/smp.c
··· 58 58 unsigned int count; 59 59 } __attribute__((__aligned__(32))) local_tlb_flush_counts[NR_CPUS]; 60 60 61 - static DEFINE_PER_CPU(unsigned int, shadow_flush_counts[NR_CPUS]) ____cacheline_aligned; 61 + static DEFINE_PER_CPU(unsigned short, shadow_flush_counts[NR_CPUS]) ____cacheline_aligned; 62 62 63 63 #define IPI_CALL_FUNC 0 64 64 #define IPI_CPU_STOP 1 ··· 254 254 void 255 255 smp_flush_tlb_cpumask(cpumask_t xcpumask) 256 256 { 257 - unsigned int *counts = __ia64_per_cpu_var(shadow_flush_counts); 257 + unsigned short *counts = __ia64_per_cpu_var(shadow_flush_counts); 258 258 cpumask_t cpumask = xcpumask; 259 259 int mycpu, cpu, flush_mycpu = 0; 260 260 ··· 262 262 mycpu = smp_processor_id(); 263 263 264 264 for_each_cpu_mask(cpu, cpumask) 265 - counts[cpu] = local_tlb_flush_counts[cpu].count; 265 + counts[cpu] = local_tlb_flush_counts[cpu].count & 0xffff; 266 266 267 267 mb(); 268 268 for_each_cpu_mask(cpu, cpumask) { ··· 276 276 smp_local_flush_tlb(); 277 277 278 278 for_each_cpu_mask(cpu, cpumask) 279 - while(counts[cpu] == local_tlb_flush_counts[cpu].count) 279 + while(counts[cpu] == (local_tlb_flush_counts[cpu].count & 0xffff)) 280 280 udelay(FLUSH_DELAY); 281 281 282 282 preempt_enable();