4 #include <linux/atomic.h>
5 #include <linux/spinlock.h>
6 #include <linux/wait.h>
9 unsigned long asid[NR_CPUS];
11 atomic_t fp_mode_switching;
13 /* lock to be held whilst modifying fp_bd_emupage_allocmap */
14 spinlock_t bd_emupage_lock;
15 /* bitmap tracking allocation of fp_bd_emupage */
16 unsigned long *bd_emupage_allocmap;
17 /* wait queue for threads requiring an emuframe */
18 wait_queue_head_t bd_emupage_queue;
21 #endif /* __ASM_MMU_H */