diff options
author | Michal Meloun <mmel@FreeBSD.org> | 2020-11-29 08:40:12 +0000 |
---|---|---|
committer | Michal Meloun <mmel@FreeBSD.org> | 2020-11-29 08:40:12 +0000 |
commit | 5c2967f66fbfba57e246e683430982e08b1127aa (patch) | |
tree | cf91d26f07eee072e0181a653ca1f5809fa5e186 /sys/arm/arm/mem.c | |
parent | 41062d68781586c2e28ba277a9c71ac9a529ca51 (diff) | |
download | src-5c2967f66fbfba57e246e683430982e08b1127aa.tar.gz src-5c2967f66fbfba57e246e683430982e08b1127aa.zip |
Remove the pre-ARMv6 and pre-INTRNG code.
ARM has required ARMV6+ and INTRNg for some time now, so remove
always false #ifdefs and unconditionally do always true #ifdefs.
Notes
Notes:
svn path=/head/; revision=368141
Diffstat (limited to 'sys/arm/arm/mem.c')
-rw-r--r-- | sys/arm/arm/mem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm/arm/mem.c b/sys/arm/arm/mem.c index 9ee7dccc24e2..b1571ee12287 100644 --- a/sys/arm/arm/mem.c +++ b/sys/arm/arm/mem.c @@ -118,9 +118,7 @@ memrw(struct cdev *dev, struct uio *uio, int flags) return (EINVAL); sx_xlock(&tmppt_lock); pmap_kenter((vm_offset_t)_tmppt, v); -#if __ARM_ARCH >= 6 pmap_tlb_flush(kernel_pmap, (vm_offset_t)_tmppt); -#endif o = (int)uio->uio_offset & PAGE_MASK; c = (u_int)(PAGE_SIZE - ((int)iov->iov_base & PAGE_MASK)); c = min(c, (u_int)(PAGE_SIZE - o)); |