diff options
Diffstat (limited to 'bsd-user/main.c')
-rw-r--r-- | bsd-user/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index d2129cc0c1..49776b8733 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -180,7 +180,11 @@ void cpu_loop(CPUSPARCState *env, enum BSDType bsd_type) trapnr = cpu_sparc_exec (env); switch (trapnr) { +#ifndef TARGET_SPARC64 + case 0x80: +#else case 0x100: +#endif syscall_nr = env->gregs[1]; #if defined(TARGET_SPARC) syscall_nr &= ~(SYSCALL_G7RFLAG | SYSCALL_G2RFLAG); |