mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xen/arm: Fixing clear_guest_offset macro
Fix the the broken macro 'clear_guest_offset' in arm. Signed-off-by: Jaeyong Yoo <jaeyong.yoo@samsung.com> Reviewed-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
5814c59925
commit
e9ee35826e
1 file changed
+3
-2
@@ -77,8 +77,9 @@ unsigned long raw_clear_guest(void *to, unsigned len);
|
||||
* Clear an array of objects in guest context via a guest handle,
|
||||
* specifying an offset into the guest array.
|
||||
*/
|
||||
#define clear_guest_offset(hnd, off, ptr, nr) ({ \
|
||||
raw_clear_guest(_d+(off), nr); \
|
||||
#define clear_guest_offset(hnd, off, nr) ({ \
|
||||
void *_d = (hnd).p; \
|
||||
raw_clear_guest(_d+(off), nr); \
|
||||
})
|
||||
|
||||
/*
|
||||
|
||||