test/double-poll-crash: only run on x86/x86-64
Various syzbot oddities makes this x86 specific, so just disable
the run on other archs. Also kill useless mmap() while in there.
@@ -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;
