summaryrefslogtreecommitdiff
path: root/test/double-poll-crash.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/double-poll-crash.c')
-rw-r--r--test/double-poll-crash.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/double-poll-crash.c b/test/double-poll-crash.c
index d9277be..e932bec 100644
--- a/test/double-poll-crash.c
+++ b/test/double-poll-crash.c
@@ -107,11 +107,13 @@ uint64_t r[4] = {0xffffffffffffffff, 0x0, 0x0, 0xffffffffffffffff};
int main(int argc, char *argv[])
{
+#if !defined(__i386) && !defined(__x86_64__)
+ return 0;
+#endif
if (argc > 1)
return 0;
- mmap((void *)0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul);
mmap((void *)0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul);
mmap((void *)0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul);
intptr_t res = 0;