summaryrefslogtreecommitdiffstats
path: root/qemu/tests/tcg/cris/sys.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/tcg/cris/sys.h')
-rw-r--r--qemu/tests/tcg/cris/sys.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/qemu/tests/tcg/cris/sys.h b/qemu/tests/tcg/cris/sys.h
deleted file mode 100644
index c5f88e1a2..000000000
--- a/qemu/tests/tcg/cris/sys.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <unistd.h>
-
-#define STRINGIFY(x) #x
-#define TOSTRING(x) STRINGIFY(x)
-
-#define CURRENT_LOCATION __FILE__ ":" TOSTRING(__LINE__)
-
-#define err() \
-{ \
- _fail("at " CURRENT_LOCATION " "); \
-}
-
-#define mb() asm volatile ("" : : : "memory")
-
-void pass(void);
-void _fail(char *reason);