diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-06-30 01:07:33 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-06-30 01:07:33 -0400 |
commit | 0c885c175c06bdfe13e88d974d56a5e93ad2f544 (patch) | |
tree | d1986e295a8cfa02184c0f1d154cee2ce21fb06b /arch/ppc64/kernel/iSeries_setup.c | |
parent | fc07695386067a4abbd5ac8c7974059eae0b0a79 (diff) |
[PATCH] ppc64: Move set_spread_lpevents() into ItLpQueue.c
The only code outside ItLpQueue.c that refers to spread_lpevents is in
set_apread_lpevents(), so move it inside ItLpQueue.c and make spread_lpevents
static.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/iSeries_setup.c')
-rw-r--r-- | arch/ppc64/kernel/iSeries_setup.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/ppc64/kernel/iSeries_setup.c b/arch/ppc64/kernel/iSeries_setup.c index 2049b6dbafc7..78f283560252 100644 --- a/arch/ppc64/kernel/iSeries_setup.c +++ b/arch/ppc64/kernel/iSeries_setup.c | |||
@@ -853,26 +853,6 @@ static int __init iSeries_src_init(void) | |||
853 | 853 | ||
854 | late_initcall(iSeries_src_init); | 854 | late_initcall(iSeries_src_init); |
855 | 855 | ||
856 | static int set_spread_lpevents(char *str) | ||
857 | { | ||
858 | unsigned long val = simple_strtoul(str, NULL, 0); | ||
859 | extern unsigned long spread_lpevents; | ||
860 | |||
861 | /* | ||
862 | * The parameter is the number of processors to share in processing | ||
863 | * lp events. | ||
864 | */ | ||
865 | if (( val > 0) && (val <= NR_CPUS)) { | ||
866 | spread_lpevents = val; | ||
867 | printk("lpevent processing spread over %ld processors\n", val); | ||
868 | } else { | ||
869 | printk("invalid spread_lpevents %ld\n", val); | ||
870 | } | ||
871 | |||
872 | return 1; | ||
873 | } | ||
874 | __setup("spread_lpevents=", set_spread_lpevents); | ||
875 | |||
876 | #ifndef CONFIG_PCI | 856 | #ifndef CONFIG_PCI |
877 | void __init iSeries_init_IRQ(void) { } | 857 | void __init iSeries_init_IRQ(void) { } |
878 | #endif | 858 | #endif |