提交 fc363672 编写于 作者: T Thomas Gleixner 提交者: Ingo Molnar

x86: move idle related declarations

Move idle related declarations to processor_64.h, where the
the others are as well.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 8c61b900
...@@ -434,6 +434,10 @@ static inline void __sti_mwait(unsigned long eax, unsigned long ecx) ...@@ -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 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() \ #define stack_current() \
({ \ ({ \
struct thread_info *ti; \ struct thread_info *ti; \
......
...@@ -67,8 +67,6 @@ extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long en ...@@ -67,8 +67,6 @@ extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long en
extern void check_efer(void); extern void check_efer(void);
extern void select_idle_routine(const struct cpuinfo_x86 *c);
extern unsigned long table_start, table_end; extern unsigned long table_start, table_end;
extern int exception_trace; extern int exception_trace;
...@@ -80,8 +78,6 @@ extern int notsc_setup(char *); ...@@ -80,8 +78,6 @@ extern int notsc_setup(char *);
extern int gsi_irq_sharing(int gsi); extern int gsi_irq_sharing(int gsi);
extern int force_mwait;
long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); long do_arch_prctl(struct task_struct *task, int code, unsigned long addr);
#define round_up(x,y) (((x) + (y) - 1) & ~((y)-1)) #define round_up(x,y) (((x) + (y) - 1) & ~((y)-1))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册