diff options
author | andrew <andrew@FreeBSD.org> | 2015-04-17 09:17:35 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-04-17 09:17:35 +0000 |
commit | 330cbf85da1b4cdaca636b9ce05aab68901f9516 (patch) | |
tree | d8863af9b3853092b7466ea120c5df28fa8e7bb3 /sys | |
parent | 4bc400d973060d337ae7525b8270d22c6fe3f19f (diff) | |
download | FreeBSD-src-330cbf85da1b4cdaca636b9ce05aab68901f9516.zip FreeBSD-src-330cbf85da1b4cdaca636b9ce05aab68901f9516.tar.gz |
Remove support for reading the syscall code in OABI. This is unneeded now
we can only build for EABI.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arm/arm/vm_machdep.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/arm/arm/vm_machdep.c b/sys/arm/arm/vm_machdep.c index 383a74a..2ab58ea 100644 --- a/sys/arm/arm/vm_machdep.c +++ b/sys/arm/arm/vm_machdep.c @@ -178,11 +178,7 @@ cpu_set_syscall_retval(struct thread *td, int error) * place the returned data into r1. As the lseek and frerebsd6_lseek * syscalls also return an off_t they do not need this fixup. */ -#ifdef __ARM_EABI__ call = frame->tf_r7; -#else - call = *(u_int32_t *)(frame->tf_pc - INSN_SIZE) & 0x000fffff; -#endif if (call == SYS___syscall) { register_t *ap = &frame->tf_r0; register_t code = ap[_QUAD_LOWWORD]; |