aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 07:30:16 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:16 -0500
commitfc36367211931cd503f050e4ceff5d9864cec817 (patch)
tree44ae28cc2ca9889e498741eeff66ac7aa900c6f2
parent8c61b900ebb8ec5918ffd776ba1a61a5f022566d (diff)
x86: move idle related declarations
Move idle related declarations to processor_64.h, where the the others are as well. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--include/asm-x86/processor_64.h4
-rw-r--r--include/asm-x86/proto.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-x86/processor_64.h b/include/asm-x86/processor_64.h
index e4f19970a82b..6b96e1f12a42 100644
--- a/include/asm-x86/processor_64.h
+++ b/include/asm-x86/processor_64.h
@@ -434,6 +434,10 @@ static inline void __sti_mwait(unsigned long eax, unsigned long ecx)
434 434
435extern void mwait_idle_with_hints(unsigned long eax, unsigned long ecx); 435extern void mwait_idle_with_hints(unsigned long eax, unsigned long ecx);
436 436
437extern int force_mwait;
438
439extern void select_idle_routine(const struct cpuinfo_x86 *c);
440
437#define stack_current() \ 441#define stack_current() \
438({ \ 442({ \
439 struct thread_info *ti; \ 443 struct thread_info *ti; \
diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h
index 9e3d51fd91a2..77b4177d17f5 100644
--- a/include/asm-x86/proto.h
+++ b/include/asm-x86/proto.h
@@ -67,8 +67,6 @@ extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long en
67 67
68extern void check_efer(void); 68extern void check_efer(void);
69 69
70extern void select_idle_routine(const struct cpuinfo_x86 *c);
71
72extern unsigned long table_start, table_end; 70extern unsigned long table_start, table_end;
73 71
74extern int exception_trace; 72extern int exception_trace;
@@ -80,8 +78,6 @@ extern int notsc_setup(char *);
80 78
81extern int gsi_irq_sharing(int gsi); 79extern int gsi_irq_sharing(int gsi);
82 80
83extern int force_mwait;
84
85long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); 81long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
86 82
87#define round_up(x,y) (((x) + (y) - 1) & ~((y)-1)) 83#define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))