projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d29ebe
)
sh: Use generic sched_clock().
author
Paul Mundt
<lethal@linux-sh.org>
Sun, 14 Jun 2009 10:48:48 +0000
(19:48 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Sun, 14 Jun 2009 10:48:48 +0000
(19:48 +0900)
The generic sched_clock() handles INITIAL_JIFFIES now as well, so we can
just use that instead.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/time.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/time.c
b/arch/sh/kernel/time.c
index 0eecbe855f5c8d6bd646e7eeaccf1c54a0f6b773..960d9abd10585ceb4cc9f7cc4692af0960e61953 100644
(file)
--- a/
arch/sh/kernel/time.c
+++ b/
arch/sh/kernel/time.c
@@
-91,11
+91,6
@@
module_init(rtc_generic_init);
void (*board_time_init)(void);
-unsigned long long sched_clock(void)
-{
- return (jiffies_64 - INITIAL_JIFFIES) * (NSEC_PER_SEC / HZ);
-}
-
void __init time_init(void)
{
if (board_time_init)