commit | 4a046d1754ee6ebb6f399696805ed61ea0444d4c | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Mon Jan 12 17:39:24 2009 -0800 |
committer | Mike Travis <travis@sgi.com> | Mon Jan 12 17:39:24 2009 -0800 |
tree | 9b9e8e63d9490aea4c2f06263ad541cb8115eb63 | |
parent | e65e49d0f3714f4a6a42f6f6a19926ba33fcda75 [diff] [blame] |
x86: arch_probe_nr_irqs Impact: save RAM with large NR_CPUS, get smaller nr_irqs Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Mike Travis <travis@sgi.com>
diff --git a/kernel/softirq.c b/kernel/softirq.c index bdbe9de..0365b48 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c
@@ -795,6 +795,11 @@ return 0; } +int __init __weak arch_probe_nr_irqs(void) +{ + return 0; +} + int __init __weak arch_early_irq_init(void) { return 0;