projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MIPS] Enable support for the userlocal hardware register
[linux-2.6-microblaze.git]
/
include
/
asm-mips
/
system.h
diff --git
a/include/asm-mips/system.h
b/include/asm-mips/system.h
index
9b3a8dd
..
be64fc5
100644
(file)
--- a/
include/asm-mips/system.h
+++ b/
include/asm-mips/system.h
@@
-67,6
+67,8
@@
do { \
(last) = resume(prev, next, task_thread_info(next)); \
if (cpu_has_dsp) \
__restore_dsp(current); \
+ if (cpu_has_userlocal) \
+ write_c0_userlocal(task_thread_info(current)->tp_value);\
} while(0)
/*