- Update Xen patches to 3.3-rc5 and c/s 1157.
[linux-flexiantxendom0-3.2.10.git] / include / xen / pcpu.h
1 #ifndef _XEN_SYSCTL_H
2 #define _XEN_SYSCTL_H
3
4 #include <linux/cpu.h>
5 #include <linux/notifier.h>
6
7 int register_pcpu_notifier(struct notifier_block *);
8 void unregister_pcpu_notifier(struct notifier_block *);
9
10 #ifdef CONFIG_X86
11 int __must_check rdmsr_safe_on_pcpu(unsigned int pcpu, u32 msr_no,
12                                     u32 *l, u32 *h);
13 int __must_check wrmsr_safe_on_pcpu(unsigned int pcpu, u32 msr_no,
14                                     u32 l, u32 h);
15 int __must_check rdmsr_safe_regs_on_pcpu(unsigned int pcpu, u32 *regs);
16 int __must_check wrmsr_safe_regs_on_pcpu(unsigned int pcpu, u32 *regs);
17 #endif
18
19 #endif /* _XEN_SYSCTL_H */