# trace/latency-hist: Repair missing forward declaration

- From: Carsten Emde \<hidden\>
- Date: 2016-01-05 09:17:22 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2016/01/16485809
- Thread: https://ratatoskr.run/linux-rt-users/2016/01/16485809/t.md

```text
Hi Thomas & Sebastian,

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

Thanks,
	-Carsten.

Signed-off-by: Carsten Emde <redacted>

---
 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);
```
