aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/interface/platform.h
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-09-12 11:14:33 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-09-12 11:14:33 -0400
commit25a765b7f05cb8460fa01b54568894b20e184862 (patch)
tree0b56db57b4d9f912393ab303c269e0fe6cdf8635 /include/xen/interface/platform.h
parent9d2be9287107695708e6aae5105a8a518a6cb4d0 (diff)
parent64282278989d5b0398dcb3ba7904cb00c621dc35 (diff)
Merge branch 'x86/platform' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into stable/for-linus-3.7
* 'x86/platform' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (9690 commits) x86: Document x86_init.paging.pagetable_init() x86: xen: Cleanup and remove x86_init.paging.pagetable_setup_done() x86: Move paging_init() call to x86_init.paging.pagetable_init() x86: Rename pagetable_setup_start() to pagetable_init() x86: Remove base argument from x86_init.paging.pagetable_setup_start Linux 3.6-rc5 HID: tpkbd: work even if the new Lenovo Keyboard driver is not configured Remove user-triggerable BUG from mpol_to_str xen/pciback: Fix proper FLR steps. uml: fix compile error in deliver_alarm() dj: memory scribble in logi_dj Fix order of arguments to compat_put_time[spec|val] xen: Use correct masking in xen_swiotlb_alloc_coherent. xen: fix logical error in tlb flushing xen/p2m: Fix one-off error in checking the P2M tree directory. powerpc: Don't use __put_user() in patch_instruction powerpc: Make sure IPI handlers see data written by IPI senders powerpc: Restore correct DSCR in context switch powerpc: Fix DSCR inheritance in copy_thread() powerpc: Keep thread.dscr and thread.dscr_inherit in sync ...
Diffstat (limited to 'include/xen/interface/platform.h')
-rw-r--r--include/xen/interface/platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/xen/interface/platform.h b/include/xen/interface/platform.h
index 0bea47027fa2..a3275a850e54 100644
--- a/include/xen/interface/platform.h
+++ b/include/xen/interface/platform.h
@@ -314,6 +314,13 @@ struct xenpf_pcpuinfo {
314}; 314};
315DEFINE_GUEST_HANDLE_STRUCT(xenpf_pcpuinfo); 315DEFINE_GUEST_HANDLE_STRUCT(xenpf_pcpuinfo);
316 316
317#define XENPF_cpu_online 56
318#define XENPF_cpu_offline 57
319struct xenpf_cpu_ol {
320 uint32_t cpuid;
321};
322DEFINE_GUEST_HANDLE_STRUCT(xenpf_cpu_ol);
323
317struct xen_platform_op { 324struct xen_platform_op {
318 uint32_t cmd; 325 uint32_t cmd;
319 uint32_t interface_version; /* XENPF_INTERFACE_VERSION */ 326 uint32_t interface_version; /* XENPF_INTERFACE_VERSION */
@@ -330,6 +337,7 @@ struct xen_platform_op {
330 struct xenpf_getidletime getidletime; 337 struct xenpf_getidletime getidletime;
331 struct xenpf_set_processor_pminfo set_pminfo; 338 struct xenpf_set_processor_pminfo set_pminfo;
332 struct xenpf_pcpuinfo pcpu_info; 339 struct xenpf_pcpuinfo pcpu_info;
340 struct xenpf_cpu_ol cpu_ol;
333 uint8_t pad[128]; 341 uint8_t pad[128];
334 } u; 342 } u;
335}; 343};