summaryrefslogtreecommitdiff
path: root/include/asm-x86/idle.h
blob: 32227f0188dde8ef9d7de11f845a5d79c8b97953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef ASM_X86__IDLE_H
#define ASM_X86__IDLE_H

#define IDLE_START 1
#define IDLE_END 2

struct notifier_block;
void idle_notifier_register(struct notifier_block *n);
void idle_notifier_unregister(struct notifier_block *n);

void enter_idle(void);
void exit_idle(void);

void c1e_remove_cpu(int cpu);

#endif /* ASM_X86__IDLE_H */