From: compudj Date: Wed, 13 Aug 2008 17:07:01 +0000 (+0000) Subject: update test X-Git-Tag: v0.12.20~473 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f37346b4b28446bd06c0facd7d88faa89bb1aa30;p=lttv.git update test git-svn-id: http://ltt.polymtl.ca/svn@3016 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/trunk/tests/kernel/test-nop-speed.c b/trunk/tests/kernel/test-nop-speed.c index 58f30978..957bf055 100644 --- a/trunk/tests/kernel/test-nop-speed.c +++ b/trunk/tests/kernel/test-nop-speed.c @@ -35,7 +35,7 @@ void twobytesjump(void) void fivebytesjump(void) { - asm (".byte 0xe9, 0x00, 0x00, 0x00, 0x00\n\t"); + asm volatile (".byte 0xe9, 0x00, 0x00, 0x00, 0x00\n\t"); var += 50; var /= 10; var *= var2; @@ -43,7 +43,7 @@ void fivebytesjump(void) void threetwonops(void) { - asm (".byte 0x66,0x66,0x90,0x66,0x90\n\t"); + asm volatile (".byte 0x66,0x66,0x90,0x66,0x90\n\t"); var += 50; var /= 10; var *= var2; @@ -51,7 +51,7 @@ void threetwonops(void) void fivebytesnop(void) { - asm (".byte 0x66,0x66,0x66,0x66,0x90\n\t"); + asm volatile (".byte 0x66,0x66,0x66,0x66,0x90\n\t"); var += 50; var /= 10; var *= var2; @@ -59,7 +59,7 @@ void fivebytesnop(void) void fivebytespsixnop(void) { - asm (".byte 0x0f,0x1f,0x44,0x00,0\n\t"); + asm volatile (".byte 0x0f,0x1f,0x44,0x00,0\n\t"); var += 50; var /= 10; var *= var2;