mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent.org.uk>
To: linux-kernel@vger.kernel.org
Cc: stable-rt@vger.kernel.org
Subject: [PATCH RT] Fix build error in kernel/time/hrtimer.c
Date: Mon, 28 Dec 2015 00:32:48 +0000	[thread overview]
Message-ID: <20151228003247.GY28542@decadent.org.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

Move declaration of hrtimer_wakeup() above its first use.

Signed-off-by: Ben Hutchings <ben@decadent.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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

                 reply	other threads:[~2015-12-28  0:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151228003247.GY28542@decadent.org.uk \
    --to=ben@decadent.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable-rt@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®