projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[AVR32] Add support for AT32AP7001 and AT32AP7002
[cascardo/linux.git]
/
include
/
asm-avr32
/
system.h
diff --git
a/include/asm-avr32/system.h
b/include/asm-avr32/system.h
index
dc2d527
..
c600cc1
100644
(file)
--- a/
include/asm-avr32/system.h
+++ b/
include/asm-avr32/system.h
@@
-35,8
+35,8
@@
#include <asm/ocd.h>
#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