Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1724169 > unrolled thread

[PATCH 01/25] hrtimer: Use predefined function for updating next_timer

Started byAnna-Maria Gleixner <anna-maria@linutronix.de>
First post2017-08-31 14:30 +0200
Last post2017-08-31 14:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 01/25] hrtimer: Use predefined function for updating next_timer Anna-Maria Gleixner <anna-maria@linutronix.de> - 2017-08-31 14:30 +0200

#1724169 — [PATCH 01/25] hrtimer: Use predefined function for updating next_timer

FromAnna-Maria Gleixner <anna-maria@linutronix.de>
Date2017-08-31 14:30 +0200
Subject[PATCH 01/25] hrtimer: Use predefined function for updating next_timer
Message-ID<ukwLE-5Ay-15@gated-at.bofh.it>
From: Anna-Maria Gleixner <anna-maria@linutronix.de>

There already exist a function for updating the next_timer
hrtimer_update_next_timer().

Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
---
 kernel/time/hrtimer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -630,7 +630,7 @@ static void hrtimer_reprogram(struct hrt
 		return;
 
 	/* Update the pointer to the next expiring timer */
-	cpu_base->next_timer = timer;
+	hrtimer_update_next_timer(cpu_base, timer);
 
 	/*
 	 * If a hang was detected in the last timer interrupt then we

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web