mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 04:41:26 +00:00
a850cef77f
As long as there's no write access to this variable there's no reason to let gcc check it at runtime. [ tglx: arch/x86 adaptation ] Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
20 lines
395 B
C
20 lines
395 B
C
#ifndef _ASM_I386_CPU_H_
|
|
#define _ASM_I386_CPU_H_
|
|
|
|
#include <linux/device.h>
|
|
#include <linux/cpu.h>
|
|
#include <linux/topology.h>
|
|
#include <linux/nodemask.h>
|
|
#include <linux/percpu.h>
|
|
|
|
struct i386_cpu {
|
|
struct cpu cpu;
|
|
};
|
|
extern int arch_register_cpu(int num);
|
|
#ifdef CONFIG_HOTPLUG_CPU
|
|
extern void arch_unregister_cpu(int);
|
|
#endif
|
|
|
|
DECLARE_PER_CPU(int, cpu_state);
|
|
#endif /* _ASM_I386_CPU_H_ */
|