projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a013e2
)
sh64: fixups for xtime_lock seqlock conversion.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 25 Apr 2008 02:54:24 +0000
(11:54 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 8 May 2008 10:51:36 +0000
(19:51 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/time_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/time_64.c
b/arch/sh/kernel/time_64.c
index 898977ee2030d99ca792425f22e58464b9ee8a0d..56205e36d0090073ef9c68a1306315bee56c5867 100644
(file)
--- a/
arch/sh/kernel/time_64.c
+++ b/
arch/sh/kernel/time_64.c
@@
-240,7
+240,7
@@
static inline void do_timer_interrupt(void)
* the irq version of write_lock because as just said we have irq
* locally disabled. -arca
*/
- write_lock(&xtime_lock);
+ write_
seq
lock(&xtime_lock);
asm ("getcon cr62, %0" : "=r" (current_ctc));
ctc_last_interrupt = (unsigned long) current_ctc;
@@
-266,7
+266,7
@@
static inline void do_timer_interrupt(void)
/* do it again in 60 s */
last_rtc_update = xtime.tv_sec - 600;
}
- write_unlock(&xtime_lock);
+ write_
seq
unlock(&xtime_lock);
#ifndef CONFIG_SMP
update_process_times(user_mode(get_irq_regs()));