[PATCH 1/3] zdtm: maps007: fixed compilation on ARM

Alexander Kartashov alekskartashov at parallels.com
Sun Mar 9 12:05:06 PDT 2014


Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
---
 test/zdtm/live/transition/maps007.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm/live/transition/maps007.c b/test/zdtm/live/transition/maps007.c
index 75164ee..a5788c3 100644
--- a/test/zdtm/live/transition/maps007.c
+++ b/test/zdtm/live/transition/maps007.c
@@ -85,7 +85,7 @@ int main(int argc, char **argv)
 			if (!futex_get(&shm->stop))
 				futex_wait_while_lt(&shm->delta, MAX_DELTA);
 
-			if (futex_get(&shm->stop) && atomic_get(&shm->delta) == MAX_DELTA)
+			if (futex_get(&shm->stop) && atomic_get(&shm->delta.raw) == MAX_DELTA)
 				break;
 			futex_dec_and_wake(&shm->delta);
 		}
-- 
1.7.9.5


--------------000909060806020601080604
Content-Type: text/x-patch;
	name="0002-test-zdtm-fixed-compilation-of-the-test-criu-rtc.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="0002-test-zdtm-fixed-compilation-of-the-test-criu-rtc.patch"



More information about the CRIU mailing list