Skip to contentSkip to conversation

trace/latency-hist: Repair missing forward declaration

PATCH Carsten Emde 1 participant 1 message Jan 5, 2016 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw

Hi Thomas & Sebastian,

Move forward declaration of hrtimer_wakeup() up to make it available when needed.

Thanks,
-Carsten.

---
 kernel/time/hrtimer.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
kernel/time/hrtimer.c +1 -0
Index: linux-4.4.0-rc6-rt1/kernel/time/hrtimer.c
===================================================================
@@ -1435,6 +1435,7 @@ static inline int hrtimer_rt_defer(struc
 
 #endif
 
+static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer);
 
 static void __hrtimer_run_queues(struct hrtimer_cpu_base *cpu_base, 

ktime_t now)
{
@@ -1490,8 +1491,6 @@ static void __hrtimer_run_queues(struct
raise_softirq_irqoff(HRTIMER_SOFTIRQ);
}

-static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer);