From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751963AbdHaM1A (ORCPT ); Thu, 31 Aug 2017 08:27:00 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:60593 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751700AbdHaMXn (ORCPT ); Thu, 31 Aug 2017 08:23:43 -0400 Message-Id: <20170831105825.618793251@linutronix.de> User-Agent: quilt/0.63-1 Date: Thu, 31 Aug 2017 12:23:33 -0000 From: Anna-Maria Gleixner To: LKML Cc: Peter Zijlstra , Ingo Molnar , Christoph Hellwig , keescook@chromium.org, John Stultz , Thomas Gleixner Subject: [PATCH 01/25] hrtimer: Use predefined function for updating next_timer References: <20170831105725.809317030@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline; filename=hrtimer_Use_predefined_function_for_updating_next_timer.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anna-Maria Gleixner There already exist a function for updating the next_timer hrtimer_update_next_timer(). Signed-off-by: Anna-Maria Gleixner --- 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