Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac1e843f authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar
Browse files

sched/clock: Remove unused argument to sched_clock_idle_wakeup_event()



The argument to sched_clock_idle_wakeup_event() has not been used in a
long time. Remove it.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent b421b22b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ static void __set_cyc2ns_scale(unsigned long khz, int cpu, unsigned long long ts
	c2n->data[1] = data;

done:
	sched_clock_idle_wakeup_event(0);
	sched_clock_idle_wakeup_event();
	local_irq_restore(flags);
}

+2 −2
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ static inline void sched_clock_idle_sleep_event(void)
{
}

static inline void sched_clock_idle_wakeup_event(u64 delta_ns)
static inline void sched_clock_idle_wakeup_event(void)
{
}

@@ -66,7 +66,7 @@ extern u64 __sched_clock_offset;
extern void sched_clock_tick(void);
extern void sched_clock_tick_stable(void);
extern void sched_clock_idle_sleep_event(void);
extern void sched_clock_idle_wakeup_event(u64 delta_ns);
extern void sched_clock_idle_wakeup_event(void);

/*
 * As outlined in clock.c, provides a fast, high resolution, nanosecond
+2 −2
Original line number Diff line number Diff line
@@ -410,9 +410,9 @@ void sched_clock_idle_sleep_event(void)
EXPORT_SYMBOL_GPL(sched_clock_idle_sleep_event);

/*
 * We just idled delta nanoseconds (called with irqs disabled):
 * We just idled; resync with ktime. (called with irqs disabled):
 */
void sched_clock_idle_wakeup_event(u64 delta_ns)
void sched_clock_idle_wakeup_event(void)
{
	if (timekeeping_suspended)
		return;
+1 −1
Original line number Diff line number Diff line
@@ -554,7 +554,7 @@ static void tick_nohz_stop_idle(struct tick_sched *ts, ktime_t now)
	update_ts_time_stats(smp_processor_id(), ts, now, NULL);
	ts->idle_active = 0;

	sched_clock_idle_wakeup_event(0);
	sched_clock_idle_wakeup_event();
}

static ktime_t tick_nohz_start_idle(struct tick_sched *ts)