diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2013-03-21 17:49:31 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-04-08 11:39:22 -0400 |
commit | 6546327ad187238ac63d2429701b32becb096fd8 (patch) | |
tree | 59665d5b3314e7e6359833ce81f5150090092260 /arch/microblaze | |
parent | 31880c37c11e28cb81c70757e38392b42e695dc6 (diff) |
arch: Cleanup enable/disable_hlt
enable/disable_hlt() does not need to be exported and can be killed on
architectures which do not use it at all.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Link: http://lkml.kernel.org/r/20130321215233.377959540@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/include/asm/processor.h | 2 | ||||
-rw-r--r-- | arch/microblaze/kernel/process.c | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h index 0759153e8117..f576fe018e5a 100644 --- a/arch/microblaze/include/asm/processor.h +++ b/arch/microblaze/include/asm/processor.h | |||
@@ -160,8 +160,6 @@ unsigned long get_wchan(struct task_struct *p); | |||
160 | # define STACK_TOP TASK_SIZE | 160 | # define STACK_TOP TASK_SIZE |
161 | # define STACK_TOP_MAX STACK_TOP | 161 | # define STACK_TOP_MAX STACK_TOP |
162 | 162 | ||
163 | void disable_hlt(void); | ||
164 | void enable_hlt(void); | ||
165 | void default_idle(void); | 163 | void default_idle(void); |
166 | 164 | ||
167 | #ifdef CONFIG_DEBUG_FS | 165 | #ifdef CONFIG_DEBUG_FS |
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index fa0ea609137c..7c36171771f2 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c | |||
@@ -46,18 +46,6 @@ EXPORT_SYMBOL(pm_power_off); | |||
46 | 46 | ||
47 | static int hlt_counter = 1; | 47 | static int hlt_counter = 1; |
48 | 48 | ||
49 | void disable_hlt(void) | ||
50 | { | ||
51 | hlt_counter++; | ||
52 | } | ||
53 | EXPORT_SYMBOL(disable_hlt); | ||
54 | |||
55 | void enable_hlt(void) | ||
56 | { | ||
57 | hlt_counter--; | ||
58 | } | ||
59 | EXPORT_SYMBOL(enable_hlt); | ||
60 | |||
61 | static int __init nohlt_setup(char *__unused) | 49 | static int __init nohlt_setup(char *__unused) |
62 | { | 50 | { |
63 | hlt_counter = 1; | 51 | hlt_counter = 1; |