aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm/syscall.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-13 21:41:39 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-13 21:41:39 +0000
commitcf720db33a6b46869a9c7c12d237a08d881e8bfb (patch)
tree22d89b2c59e78c4b1fb8c7c9b7910ac0e8038d6e /linux-user/arm/syscall.h
parent29e619b1e8b1b79255009451e26c1bdbd9338fa6 (diff)
uname fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1066 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/arm/syscall.h')
-rw-r--r--linux-user/arm/syscall.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/arm/syscall.h b/linux-user/arm/syscall.h
index 0ced33ee5b..645036174d 100644
--- a/linux-user/arm/syscall.h
+++ b/linux-user/arm/syscall.h
@@ -28,3 +28,9 @@ struct target_pt_regs {
#define ARM_SYSCALL_BASE 0x900000
#define ARM_NR_cacheflush (ARM_SYSCALL_BASE + 0xf0000 + 2)
+
+#if defined(TARGET_WORDS_BIGENDIAN)
+#define UNAME_MACHINE "armv4b"
+#else
+#define UNAME_MACHINE "armv4l"
+#endif