diff options
Diffstat (limited to 'include/asm-avr32/system.h')
-rw-r--r-- | include/asm-avr32/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-avr32/system.h b/include/asm-avr32/system.h index dc2d527cef41..c600cc15cbcb 100644 --- a/include/asm-avr32/system.h +++ b/include/asm-avr32/system.h | |||
@@ -35,8 +35,8 @@ | |||
35 | #include <asm/ocd.h> | 35 | #include <asm/ocd.h> |
36 | #define finish_arch_switch(prev) \ | 36 | #define finish_arch_switch(prev) \ |
37 | do { \ | 37 | do { \ |
38 | __mtdr(DBGREG_PID, prev->pid); \ | 38 | ocd_write(PID, prev->pid); \ |
39 | __mtdr(DBGREG_PID, current->pid); \ | 39 | ocd_write(PID, current->pid); \ |
40 | } while(0) | 40 | } while(0) |
41 | #endif | 41 | #endif |
42 | 42 | ||