X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-avr32%2Fsystem.h;h=c600cc15cbcb640d2d7941f0991fb823dd8fd2f4;hb=fa2dd441df28b9fdfc68f84ae66f1b507cfff0e4;hp=dc2d527cef4132532db6bda322f66167618f1d7f;hpb=1ce48904285fe4b0298864f9153a8502ebeac35c;p=linux-2.6 diff --git a/include/asm-avr32/system.h b/include/asm-avr32/system.h index dc2d527cef..c600cc15cb 100644 --- a/include/asm-avr32/system.h +++ b/include/asm-avr32/system.h @@ -35,8 +35,8 @@ #include #define finish_arch_switch(prev) \ do { \ - __mtdr(DBGREG_PID, prev->pid); \ - __mtdr(DBGREG_PID, current->pid); \ + ocd_write(PID, prev->pid); \ + ocd_write(PID, current->pid); \ } while(0) #endif