]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
x86: move idle related declarations
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:30:16 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:16 +0000 (13:30 +0100)
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>
include/asm-x86/processor_64.h
include/asm-x86/proto.h

index e4f19970a82b8bd9ac6de525dccbe8b662c7d3ab..6b96e1f12a42ed0f933b16b478c850bcf5d00414 100644 (file)
@@ -434,6 +434,10 @@ static inline void __sti_mwait(unsigned long eax, unsigned long ecx)
 
 extern void mwait_idle_with_hints(unsigned long eax, unsigned long ecx);
 
+extern int force_mwait;
+
+extern void select_idle_routine(const struct cpuinfo_x86 *c);
+
 #define stack_current() \
 ({                                                             \
        struct thread_info *ti;                                 \
index 9e3d51fd91a29dabe83cfffcf8d701fb55c4c19d..77b4177d17f52df284d868db88f2611f02585507 100644 (file)
@@ -67,8 +67,6 @@ extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long en
 
 extern void check_efer(void);
 
-extern void select_idle_routine(const struct cpuinfo_x86 *c);
-
 extern unsigned long table_start, table_end;
 
 extern int exception_trace;
@@ -80,8 +78,6 @@ extern int notsc_setup(char *);
 
 extern int gsi_irq_sharing(int gsi);
 
-extern int force_mwait;
-
 long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
 
 #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))