diff options
author | David S. Miller <davem@davemloft.net> | 2005-08-30 01:46:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-08-30 01:46:43 -0400 |
commit | d7ce78fd9a51ca0d6b9a8cf35baef884ddb9a95c (patch) | |
tree | d7103663f1b5262d7a90f9d99e0c2af611ad07c9 /arch/sparc64/kernel/setup.c | |
parent | 826509f8110049663799bc20f2b5b6170e2f78ca (diff) |
[SPARC64]: Eliminate irq_cpustat_t.
We can put the __softirq_pending mask in the cpudata,
no need for the silly NR_CPUS array in kernel/softirq.c
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/setup.c')
-rw-r--r-- | arch/sparc64/kernel/setup.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index fbdfed3798d8..ddbed3341a23 100644 --- a/arch/sparc64/kernel/setup.c +++ b/arch/sparc64/kernel/setup.c | |||
@@ -511,18 +511,6 @@ void __init setup_arch(char **cmdline_p) | |||
511 | conswitchp = &prom_con; | 511 | conswitchp = &prom_con; |
512 | #endif | 512 | #endif |
513 | 513 | ||
514 | #ifdef CONFIG_SMP | ||
515 | i = (unsigned long)&irq_stat[1] - (unsigned long)&irq_stat[0]; | ||
516 | if ((i == SMP_CACHE_BYTES) || (i == (2 * SMP_CACHE_BYTES))) { | ||
517 | extern unsigned int irqsz_patchme[1]; | ||
518 | irqsz_patchme[0] |= ((i == SMP_CACHE_BYTES) ? SMP_CACHE_BYTES_SHIFT : \ | ||
519 | SMP_CACHE_BYTES_SHIFT + 1); | ||
520 | flushi((long)&irqsz_patchme[0]); | ||
521 | } else { | ||
522 | prom_printf("Unexpected size of irq_stat[] elements\n"); | ||
523 | prom_halt(); | ||
524 | } | ||
525 | #endif | ||
526 | /* Work out if we are starfire early on */ | 514 | /* Work out if we are starfire early on */ |
527 | check_if_starfire(); | 515 | check_if_starfire(); |
528 | 516 | ||