hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/kernel/time.c
....@@ -1,17 +1,14 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/arch/arm/kernel/time.c
34 *
45 * Copyright (C) 1991, 1992, 1995 Linus Torvalds
56 * Modifications for ARM (C) 1994-2001 Russell King
67 *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
10
- *
118 * This file contains the ARM-specific time handling details:
129 * reading the RTC at bootup, etc...
1310 */
14
-#include <linux/clk-provider.h>
11
+#include <linux/clockchips.h>
1512 #include <linux/clocksource.h>
1613 #include <linux/errno.h>
1714 #include <linux/export.h>
....@@ -19,6 +16,7 @@
1916 #include <linux/interrupt.h>
2017 #include <linux/irq.h>
2118 #include <linux/kernel.h>
19
+#include <linux/of_clk.h>
2220 #include <linux/profile.h>
2321 #include <linux/sched.h>
2422 #include <linux/sched_clock.h>
....@@ -110,5 +108,6 @@
110108 of_clk_init(NULL);
111109 #endif
112110 timer_probe();
111
+ tick_setup_hrtimer_broadcast();
113112 }
114113 }