aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/xen-ops.h
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2016-09-01 16:33:46 +0000
committerThomas Gleixner <[email protected]>2016-09-01 16:33:46 +0000
commit0cb7bf61b1e9f05027de58c80f9b46a714d24e35 (patch)
tree41fb55cf62d07b425122f9a8b96412c0d8eb99c5 /include/xen/xen-ops.h
parentcpu/hotplug: Prevent alloc/free of irq descriptors during CPU up/down (again) (diff)
parentLinux 4.8-rc4 (diff)
downloadkernel-0cb7bf61b1e9f05027de58c80f9b46a714d24e35.tar.gz
kernel-0cb7bf61b1e9f05027de58c80f9b46a714d24e35.zip
Merge branch 'linus' into smp/hotplug
Apply upstream changes to avoid conflicts with pending patches.
Diffstat (limited to 'include/xen/xen-ops.h')
-rw-r--r--include/xen/xen-ops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h
index 9a37c541822f..b5486e648607 100644
--- a/include/xen/xen-ops.h
+++ b/include/xen/xen-ops.h
@@ -9,8 +9,8 @@
DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu);
-DECLARE_PER_CPU(int, xen_vcpu_id);
-static inline int xen_vcpu_nr(int cpu)
+DECLARE_PER_CPU(uint32_t, xen_vcpu_id);
+static inline uint32_t xen_vcpu_nr(int cpu)
{
return per_cpu(xen_vcpu_id, cpu);
}