trace/latency-hist: Repair missing forward declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thomas & Sebastian,

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

Thanks,
	-Carsten.

Signed-off-by: Carsten Emde <C.Emde@xxxxxxxxx>

---
 kernel/time/hrtimer.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: linux-4.4.0-rc6-rt1/kernel/time/hrtimer.c
===================================================================
--- linux-4.4.0-rc6-rt1.orig/kernel/time/hrtimer.c
+++ 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);
-
 #ifdef CONFIG_HIGH_RES_TIMERS

 /*
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux