aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/time.c
diff options
context:
space:
mode:
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();