diff options
| author | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2009-03-22 18:12:28 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2009-03-30 08:49:45 -0400 |
| commit | 1451a395a8672ba232bba3649ed57120e46826b5 (patch) | |
| tree | d077a20447a29d5113846dd4881723a732253eaf | |
| parent | d0cdfe2423e30f552eb3c90f20fb4c36bb548650 (diff) | |
MIPS: Fix global namespace pollution in arch/mips/kernel/smp-up.c
The following symbols in arch/mips/kernel/smp-up.c are needlessly
defined global:
up_send_ipi_single()
up_init_secondary()
up_smp_finish()
up_cpus_done()
up_boot_secondary()
up_smp_setup()
up_prepare_cpus()
This patch makes the symbols static.
Build-tested using malta_defconfig.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| -rw-r--r-- | arch/mips/kernel/smp-up.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/kernel/smp-up.c b/arch/mips/kernel/smp-up.c index ead6c30eeb14..878e3733bbb2 100644 --- a/arch/mips/kernel/smp-up.c +++ b/arch/mips/kernel/smp-up.c | |||
| @@ -13,7 +13,7 @@ | |||
| 13 | /* | 13 | /* |
| 14 | * Send inter-processor interrupt | 14 | * Send inter-processor interrupt |
| 15 | */ | 15 | */ |
| 16 | void up_send_ipi_single(int cpu, unsigned int action) | 16 | static void up_send_ipi_single(int cpu, unsigned int action) |
| 17 | { | 17 | { |
| 18 | panic(KERN_ERR "%s called", __func__); | 18 | panic(KERN_ERR "%s called", __func__); |
| 19 | } | 19 | } |
| @@ -27,31 +27,31 @@ static inline void up_send_ipi_mask(cpumask_t mask, unsigned int action) | |||
| 27 | * After we've done initial boot, this function is called to allow the | 27 | * After we've done initial boot, this function is called to allow the |
| 28 | * board code to clean up state, if needed | 28 | * board code to clean up state, if needed |
| 29 | */ | 29 | */ |
| 30 | void __cpuinit up_init_secondary(void) | 30 | static void __cpuinit up_init_secondary(void) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | void __cpuinit up_smp_finish(void) | 34 | static void __cpuinit up_smp_finish(void) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | /* Hook for after all CPUs are online */ | 38 | /* Hook for after all CPUs are online */ |
| 39 | void up_cpus_done(void) | 39 | static void up_cpus_done(void) |
| 40 | { | 40 | { |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | /* | 43 | /* |
| 44 | * Firmware CPU startup hook | 44 | * Firmware CPU startup hook |
| 45 | */ | 45 | */ |
| 46 | void __cpuinit up_boot_secondary(int cpu, struct task_struct *idle) | 46 | static void __cpuinit up_boot_secondary(int cpu, struct task_struct *idle) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | void __init up_smp_setup(void) | 50 | static void __init up_smp_setup(void) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | void __init up_prepare_cpus(unsigned int max_cpus) | 54 | static void __init up_prepare_cpus(unsigned int max_cpus) |
| 55 | { | 55 | { |
| 56 | } | 56 | } |
| 57 | 57 | ||
