diff options
| author | Ian Campbell <ian.campbell@citrix.com> | 2013-02-20 06:48:06 -0500 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-02-20 08:45:07 -0500 |
| commit | c81611c4e96f595a80d8be9367c385d2c116428b (patch) | |
| tree | 94c1b31034506d8b73b6d9b2c2e0e2331d0fd450 /include | |
| parent | 76eaca031f0af2bb303e405986f637811956a422 (diff) | |
xen: event channel arrays are xen_ulong_t and not unsigned long
On ARM we want these to be the same size on 32- and 64-bit.
This is an ABI change on ARM. X86 does not change.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Jan Beulich <JBeulich@suse.com>
Cc: Keir (Xen.org) <keir@xen.org>
Cc: Tim Deegan <tim@xen.org>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: xen-devel@lists.xen.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/xen/interface/xen.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h index 886a5d80a18f..53ec4167bd0b 100644 --- a/include/xen/interface/xen.h +++ b/include/xen/interface/xen.h | |||
| @@ -285,7 +285,7 @@ DEFINE_GUEST_HANDLE_STRUCT(multicall_entry); | |||
| 285 | * Event channel endpoints per domain: | 285 | * Event channel endpoints per domain: |
| 286 | * 1024 if a long is 32 bits; 4096 if a long is 64 bits. | 286 | * 1024 if a long is 32 bits; 4096 if a long is 64 bits. |
| 287 | */ | 287 | */ |
| 288 | #define NR_EVENT_CHANNELS (sizeof(unsigned long) * sizeof(unsigned long) * 64) | 288 | #define NR_EVENT_CHANNELS (sizeof(xen_ulong_t) * sizeof(xen_ulong_t) * 64) |
| 289 | 289 | ||
| 290 | struct vcpu_time_info { | 290 | struct vcpu_time_info { |
| 291 | /* | 291 | /* |
| @@ -341,7 +341,7 @@ struct vcpu_info { | |||
| 341 | */ | 341 | */ |
| 342 | uint8_t evtchn_upcall_pending; | 342 | uint8_t evtchn_upcall_pending; |
| 343 | uint8_t evtchn_upcall_mask; | 343 | uint8_t evtchn_upcall_mask; |
| 344 | unsigned long evtchn_pending_sel; | 344 | xen_ulong_t evtchn_pending_sel; |
| 345 | struct arch_vcpu_info arch; | 345 | struct arch_vcpu_info arch; |
| 346 | struct pvclock_vcpu_time_info time; | 346 | struct pvclock_vcpu_time_info time; |
| 347 | }; /* 64 bytes (x86) */ | 347 | }; /* 64 bytes (x86) */ |
| @@ -384,8 +384,8 @@ struct shared_info { | |||
| 384 | * per-vcpu selector word to be set. Each bit in the selector covers a | 384 | * per-vcpu selector word to be set. Each bit in the selector covers a |
| 385 | * 'C long' in the PENDING bitfield array. | 385 | * 'C long' in the PENDING bitfield array. |
| 386 | */ | 386 | */ |
| 387 | unsigned long evtchn_pending[sizeof(unsigned long) * 8]; | 387 | xen_ulong_t evtchn_pending[sizeof(xen_ulong_t) * 8]; |
| 388 | unsigned long evtchn_mask[sizeof(unsigned long) * 8]; | 388 | xen_ulong_t evtchn_mask[sizeof(xen_ulong_t) * 8]; |
| 389 | 389 | ||
| 390 | /* | 390 | /* |
| 391 | * Wallclock time: updated only by control software. Guests should base | 391 | * Wallclock time: updated only by control software. Guests should base |
