summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/include/critical.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/include/critical.h b/sys/arm/include/critical.h
index 0f05c9f..f9f0578 100644
--- a/sys/arm/include/critical.h
+++ b/sys/arm/include/critical.h
@@ -42,7 +42,7 @@ void cpu_critical_fork_exit(void);
static __inline void
cpu_critical_enter(struct thread *td)
{
- cd->td_md.md_savecrit = disable_interrupts(I32_bit | F32_bit);
+ td->td_md.md_savecrit = disable_interrupts(I32_bit | F32_bit);
}
static __inline void
OpenPOWER on IntegriCloud