cpu.h 389 字节
Newer Older
V
Vegard Nossum 已提交
1 2
#ifndef ASM_X86__CPU_H
#define ASM_X86__CPU_H
L
Linus Torvalds 已提交
3 4 5 6 7

#include <linux/device.h>
#include <linux/cpu.h>
#include <linux/topology.h>
#include <linux/nodemask.h>
Z
Zwane Mwaikambo 已提交
8
#include <linux/percpu.h>
L
Linus Torvalds 已提交
9

10
struct x86_cpu {
L
Linus Torvalds 已提交
11 12
	struct cpu cpu;
};
13

L
Linus Torvalds 已提交
14
#ifdef CONFIG_HOTPLUG_CPU
15
extern int arch_register_cpu(int num);
L
Linus Torvalds 已提交
16 17 18
extern void arch_unregister_cpu(int);
#endif

Z
Zwane Mwaikambo 已提交
19
DECLARE_PER_CPU(int, cpu_state);
V
Vegard Nossum 已提交
20
#endif /* ASM_X86__CPU_H */