|
@@ -300,11 +300,10 @@ EXPORT_SYMBOL_GPL(ktime_sub_ns);
|
|
*/
|
|
*/
|
|
u64 ktime_divns(const ktime_t kt, s64 div)
|
|
u64 ktime_divns(const ktime_t kt, s64 div)
|
|
{
|
|
{
|
|
- u64 dclc, inc, dns;
|
|
|
|
|
|
+ u64 dclc;
|
|
int sft = 0;
|
|
int sft = 0;
|
|
|
|
|
|
- dclc = dns = ktime_to_ns(kt);
|
|
|
|
- inc = div;
|
|
|
|
|
|
+ dclc = ktime_to_ns(kt);
|
|
/* Make sure the divisor is less than 2^32: */
|
|
/* Make sure the divisor is less than 2^32: */
|
|
while (div >> 32) {
|
|
while (div >> 32) {
|
|
sft++;
|
|
sft++;
|
|
@@ -632,8 +631,6 @@ void clock_was_set(void)
|
|
*/
|
|
*/
|
|
void hres_timers_resume(void)
|
|
void hres_timers_resume(void)
|
|
{
|
|
{
|
|
- WARN_ON_ONCE(num_online_cpus() > 1);
|
|
|
|
-
|
|
|
|
/* Retrigger the CPU local events: */
|
|
/* Retrigger the CPU local events: */
|
|
retrigger_next_event(NULL);
|
|
retrigger_next_event(NULL);
|
|
}
|
|
}
|