aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-01-08 12:06:19 +0100
committerTakashi Iwai <tiwai@suse.de>2022-01-08 12:06:19 +0100
commit04a1fdf55b9ccf2610af3e83e5b641d5dff624b1 (patch)
treee36ae9dfde4839e31ed38f17d332d62441219714
parent5b0d4151f2a6b8ee0cb79e8ca4b4b12928fc393f (diff)
downloadhda-emu-04a1fdf55b9ccf2610af3e83e5b641d5dff624b1.tar.gz
Workaround for clocks_calc_mult_shift()
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/linux/clocksource.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index e9ce23b..d2dcf18 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -3,4 +3,8 @@
#define CLOCKSOURCE_MASK(bits) (cycle_t)((bits) < 64 ? ((1ULL<<(bits))-1) : -1)
+#define NSEC_PER_SEC 1000000000
+
+#define clocks_calc_mult_shift(a, b, c, d, e) /* XXX */
+
#endif