Go to the documentation of this file.
12 #ifndef __UNICORE_CPU_SINGLE_H__
13 #define __UNICORE_CPU_SINGLE_H__
16 #include <asm/memory.h>
21 #define cpu_switch_mm(pgd, mm) cpu_do_switch_mm(virt_to_phys(pgd), mm)
23 #define cpu_get_pgd() \
26 __asm__("movc %0, p0.c2, #0" \
27 : "=r" (pg) : : "cc"); \
29 (pgd_t *)phys_to_virt(pg); \