Date: Wed, 8 Jun 2016 22:29:30 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301700 - in head/sys/arm: arm include Message-ID: <201606082229.u58MTUZc042896@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Wed Jun 8 22:29:30 2016 New Revision: 301700 URL: https://svnweb.freebsd.org/changeset/base/301700 Log: Remove the ARMv4/ARMv5 userland atomic support from struct proc on armv6. Nothing should use this on armv6 as we use the atomic instructions added in ARMv6k. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/genassym.c head/sys/arm/include/proc.h Modified: head/sys/arm/arm/genassym.c ============================================================================== --- head/sys/arm/arm/genassym.c Wed Jun 8 22:28:57 2016 (r301699) +++ head/sys/arm/arm/genassym.c Wed Jun 8 22:29:30 2016 (r301700) @@ -101,8 +101,10 @@ ASSYM(TD_PROC, offsetof(struct thread, t ASSYM(TD_MD, offsetof(struct thread, td_md)); ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); ASSYM(MD_TP, offsetof(struct mdthread, md_tp)); +#if __ARM_ARCH < 6 ASSYM(MD_RAS_START, offsetof(struct mdthread, md_ras_start)); ASSYM(MD_RAS_END, offsetof(struct mdthread, md_ras_end)); +#endif ASSYM(TF_SPSR, offsetof(struct trapframe, tf_spsr)); ASSYM(TF_R0, offsetof(struct trapframe, tf_r0)); Modified: head/sys/arm/include/proc.h ============================================================================== --- head/sys/arm/include/proc.h Wed Jun 8 22:28:57 2016 (r301699) +++ head/sys/arm/include/proc.h Wed Jun 8 22:29:30 2016 (r301700) @@ -54,8 +54,10 @@ struct mdthread { int md_ptrace_instr_alt; int md_ptrace_addr_alt; register_t md_tp; +#if __ARM_ARCH < 6 void *md_ras_start; void *md_ras_end; +#endif }; struct mdproc {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606082229.u58MTUZc042896>