aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/time.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-02-05 15:16:47 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-02-05 15:16:47 -0500
commit2b67fc46061b2171fb8fbb55d1ac717abd533569 (patch)
treed4e9db6e7d51d2fc3cf782bf11e24ed7fbc544a0 /arch/s390/kernel/time.c
parent55dff5224abeb734b12c1661c34ccf534955bee7 (diff)
[S390] Get rid of a lot of sparse warnings.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/time.c')
-rw-r--r--arch/s390/kernel/time.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c
index 6cceed4df73e..5d4a190fa307 100644
--- a/arch/s390/kernel/time.c
+++ b/arch/s390/kernel/time.c
@@ -245,7 +245,7 @@ static struct notifier_block nohz_idle_nb = {
245 .notifier_call = nohz_idle_notify, 245 .notifier_call = nohz_idle_notify,
246}; 246};
247 247
248void __init nohz_init(void) 248static void __init nohz_init(void)
249{ 249{
250 if (register_idle_notifier(&nohz_idle_nb)) 250 if (register_idle_notifier(&nohz_idle_nb))
251 panic("Couldn't register idle notifier"); 251 panic("Couldn't register idle notifier");
@@ -271,8 +271,6 @@ void init_cpu_timer(void)
271 __ctl_load(cr0, 0, 0); 271 __ctl_load(cr0, 0, 0);
272} 272}
273 273
274extern void vtime_init(void);
275
276static cycle_t read_tod_clock(void) 274static cycle_t read_tod_clock(void)
277{ 275{
278 return get_clock(); 276 return get_clock();