summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/pm.c')
-rw-r--r--arch/mips/kernel/pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/pm.c b/arch/mips/kernel/pm.c
index fefdf39d3df3..dc814892133c 100644
--- a/arch/mips/kernel/pm.c
+++ b/arch/mips/kernel/pm.c
@@ -56,7 +56,7 @@ static void mips_cpu_restore(void)
write_c0_userlocal(current_thread_info()->tp_value);
/* Restore watch registers */
- __restore_watch();
+ __restore_watch(current);
}
/**