projects
/
firefly-linux-kernel-4.4.55.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
[firefly-linux-kernel-4.4.55.git]
/
include
/
asm-mips
/
system.h
diff --git
a/include/asm-mips/system.h
b/include/asm-mips/system.h
index 9b3a8dd2c3db5ec0c1d2bc1520057ccff3dd6e75..be64fc55562ae2928d98275ff9c9634ac74959a1 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)
/*