Skip to content

Commit

Permalink
x86: move idle related declarations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Jan 30, 2008
1 parent 8c61b90 commit fc36367
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions include/asm-x86/processor_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 0 additions & 4 deletions include/asm-x86/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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))
Expand Down

0 comments on commit fc36367

Please sign in to comment.