lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 28 Dec 2015 00:32:48 +0000
From:	Ben Hutchings <ben@...adent.org.uk>
To:	linux-kernel@...r.kernel.org
Cc:	stable-rt@...r.kernel.org
Subject: [PATCH RT] Fix build error in kernel/time/hrtimer.c

Move declaration of hrtimer_wakeup() above its first use.

Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
---
This is against 4.4-rc6-rt1, after latency-hist.patch.

hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch will need
to be refreshed after applying this.

Ben.

--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -1266,6 +1266,8 @@
 	cpu_base->running = NULL;
 }
 
+static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer);
+
 static void __hrtimer_run_queues(struct hrtimer_cpu_base *cpu_base, ktime_t now)
 {
 	struct hrtimer_clock_base *base = cpu_base->clock_base;
@@ -1316,8 +1318,6 @@
 
 #ifdef CONFIG_HIGH_RES_TIMERS
 
-static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer);
-
 /*
  * High resolution timer interrupt
  * Called with interrupts disabled

Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ