[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <0c48f8ce263b58aa717e5363593cca12ffba98ad.1468483951.git.jslaby@suse.cz>
Date: Thu, 14 Jul 2016 10:16:02 +0200
From: Jiri Slaby <jslaby@...e.cz>
To: stable@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Jiri Slaby <jslaby@...e.cz>,
Takashi Iwai <tiwai@...e.de>,
Thomas Gleixner <tglx@...utronix.de>,
John Stultz <john.stultz@...aro.org>
Subject: [PATCH 3.12 70/88] ktime: export ktime_divns
3.12-stable review patch. If anyone has any objections, please let me know.
===============
ktime_divns was exported in upstream as a side-effect of commit
166afb64511eef08e13331b970c44fe91cea45ef (ktime: Sanitize
ktime_to_us/ms conversion). But we do not want the commit given ktime
is not nanoseconds in 3.12 yet.
So we only export the function here as it is needed by upstream commit
d2c5cf88d5282de258f4eb6ab40040b80a075cd8 (ALSA: hrtimer: Handle
start/stop more properly):
ERROR: "ktime_divns" [sound/core/snd-hrtimer.ko] undefined!
Signed-off-by: Jiri Slaby <jslaby@...e.cz>
Cc: Takashi Iwai <tiwai@...e.de>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: John Stultz <john.stultz@...aro.org>
---
kernel/hrtimer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index aa149222cd8e..63903212933a 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -349,6 +349,7 @@ u64 ktime_divns(const ktime_t kt, s64 div)
return dclc;
}
+EXPORT_SYMBOL_GPL(ktime_divns);
#endif /* BITS_PER_LONG >= 64 */
/*
--
2.9.1
Powered by blists - more mailing lists