diff options
Diffstat (limited to 'arch/mips/include/asm/system.h')
-rw-r--r-- | arch/mips/include/asm/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/system.h b/arch/mips/include/asm/system.h index a944eda4faf5..cd30f83235bb 100644 --- a/arch/mips/include/asm/system.h +++ b/arch/mips/include/asm/system.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <asm/cmpxchg.h> | 20 | #include <asm/cmpxchg.h> |
21 | #include <asm/cpu-features.h> | 21 | #include <asm/cpu-features.h> |
22 | #include <asm/dsp.h> | 22 | #include <asm/dsp.h> |
23 | #include <asm/watch.h> | ||
23 | #include <asm/war.h> | 24 | #include <asm/war.h> |
24 | 25 | ||
25 | 26 | ||
@@ -76,6 +77,7 @@ do { \ | |||
76 | __restore_dsp(current); \ | 77 | __restore_dsp(current); \ |
77 | if (cpu_has_userlocal) \ | 78 | if (cpu_has_userlocal) \ |
78 | write_c0_userlocal(current_thread_info()->tp_value); \ | 79 | write_c0_userlocal(current_thread_info()->tp_value); \ |
80 | __restore_watch(); \ | ||
79 | } while (0) | 81 | } while (0) |
80 | 82 | ||
81 | static inline unsigned long __xchg_u32(volatile int * m, unsigned int val) | 83 | static inline unsigned long __xchg_u32(volatile int * m, unsigned int val) |