summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/xen/enlighten.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/xen/enlighten.c')
-rw-r--r--kernel/arch/arm/xen/enlighten.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/arch/arm/xen/enlighten.c b/kernel/arch/arm/xen/enlighten.c
index fc7ea529f..52c8c1f64 100644
--- a/kernel/arch/arm/xen/enlighten.c
+++ b/kernel/arch/arm/xen/enlighten.c
@@ -239,8 +239,7 @@ static int __init xen_guest_init(void)
* for secondary CPUs as they are brought up.
* For uniformity we use VCPUOP_register_vcpu_info even on cpu0.
*/
- xen_vcpu_info = __alloc_percpu(sizeof(struct vcpu_info),
- sizeof(struct vcpu_info));
+ xen_vcpu_info = alloc_percpu(struct vcpu_info);
if (xen_vcpu_info == NULL)
return -ENOMEM;