summaryrefslogtreecommitdiff
path: root/powerpc/switch_endian/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'powerpc/switch_endian/common.h')
-rw-r--r--powerpc/switch_endian/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/powerpc/switch_endian/common.h b/powerpc/switch_endian/common.h
new file mode 100644
index 0000000..69e3996
--- /dev/null
+++ b/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