projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54fd644
)
[MIPS] Fix build.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 28 Nov 2007 15:07:42 +0000
(15:07 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 1 Dec 2007 00:39:37 +0000
(
00:39
+0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/csrc-r4k.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/csrc-r4k.c
b/arch/mips/kernel/csrc-r4k.c
index 74c5c62365a82dcaf873668da5112af62b85dd54..0e2b5cd81f67dbdd4e48bd83846e074d6c17ea0c 100644
(file)
--- a/
arch/mips/kernel/csrc-r4k.c
+++ b/
arch/mips/kernel/csrc-r4k.c
@@
-5,6
+5,10
@@
*
* Copyright (C) 2007 by Ralf Baechle
*/
+#include <linux/clocksource.h>
+#include <linux/init.h>
+
+#include <asm/time.h>
static cycle_t c0_hpt_read(void)
{
@@
-18,7
+22,7
@@
static struct clocksource clocksource_mips = {
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};
-
static
void __init init_mips_clocksource(void)
+void __init init_mips_clocksource(void)
{
/* Calclate a somewhat reasonable rating value */
clocksource_mips.rating = 200 + mips_hpt_frequency / 10000000;