aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/switch_endian/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/powerpc/switch_endian/common.h')
-rw-r--r--tools/testing/selftests/powerpc/switch_endian/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/switch_endian/common.h b/tools/testing/selftests/powerpc/switch_endian/common.h
new file mode 100644
index 000000000000..69e399698c64
--- /dev/null
+++ b/tools/testing/selftests/powerpc/switch_endian/common.h
@@ -0,0 +1,6 @@
+#include <ppc-asm.h>
+#include <asm/unistd.h>
+
+#ifndef __NR_switch_endian
+#define __NR_switch_endian 363
+#endif