Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v2.6.21-rc2 22 lines 461 B view raw
1#ifndef _ASM_I386_CPU_H_ 2#define _ASM_I386_CPU_H_ 3 4#include <linux/device.h> 5#include <linux/cpu.h> 6#include <linux/topology.h> 7#include <linux/nodemask.h> 8#include <linux/percpu.h> 9 10struct i386_cpu { 11 struct cpu cpu; 12}; 13extern int arch_register_cpu(int num); 14#ifdef CONFIG_HOTPLUG_CPU 15extern void arch_unregister_cpu(int); 16extern int enable_cpu_hotplug; 17#else 18#define enable_cpu_hotplug 0 19#endif 20 21DECLARE_PER_CPU(int, cpu_state); 22#endif /* _ASM_I386_CPU_H_ */