aboutsummaryrefslogtreecommitdiff
path: root/linux-user/ppc/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/ppc/syscall.h')
-rw-r--r--linux-user/ppc/syscall.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/ppc/syscall.h b/linux-user/ppc/syscall.h
index 30427f69e0..f98d2bca5a 100644
--- a/linux-user/ppc/syscall.h
+++ b/linux-user/ppc/syscall.h
@@ -51,4 +51,8 @@ struct target_revectored_struct {
* flags masks
*/
+#if defined(TARGET_PPC64) && !defined(TARGET_ABI32)
+#define UNAME_MACHINE "ppc64"
+#else
#define UNAME_MACHINE "ppc"
+#endif