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
This commit is contained in:
Andrew Turner 2016-06-08 22:29:30 +00:00
parent d342b2e9da
commit 4a9fc96001
2 changed files with 4 additions and 0 deletions

View File

@ -101,8 +101,10 @@ ASSYM(TD_PROC, offsetof(struct thread, td_proc));
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));

View File

@ -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 {