Go to the documentation of this file.
8 #ifndef __ASM_AVR32_SWITCH_TO_H
9 #define __ASM_AVR32_SWITCH_TO_H
16 #ifdef CONFIG_OWNERSHIP_TRACE
18 #define finish_arch_switch(prev) \
20 ocd_write(PID, prev->pid); \
21 ocd_write(PID, current->pid); \
39 #define switch_to(prev, next, last) \
41 last = __switch_to(prev, &prev->thread.cpu_context + 1, \
42 &next->thread.cpu_context); \