~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/x86/include/asm/idle.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef _ASM_X86_IDLE_H
2
2
#define _ASM_X86_IDLE_H
3
3
 
4
 
extern void enter_idle(void);
5
 
extern void __exit_idle(void);
6
 
extern void exit_idle(void);
7
 
 
8
 
void c1e_remove_cpu(int cpu);
 
4
#define IDLE_START 1
 
5
#define IDLE_END 2
 
6
 
 
7
struct notifier_block;
 
8
void idle_notifier_register(struct notifier_block *n);
 
9
void idle_notifier_unregister(struct notifier_block *n);
 
10
 
 
11
#ifdef CONFIG_X86_64
 
12
void enter_idle(void);
 
13
void exit_idle(void);
 
14
#else /* !CONFIG_X86_64 */
 
15
static inline void enter_idle(void) { }
 
16
static inline void exit_idle(void) { }
 
17
#endif /* CONFIG_X86_64 */
 
18
 
 
19
void amd_e400_remove_cpu(int cpu);
9
20
 
10
21
#endif /* _ASM_X86_IDLE_H */