From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Hansson Subject: [PATCH 1/2] nohz: Align types to bool for tick_nohz_tick_stopped() Date: Wed, 11 Apr 2018 13:01:32 +0200 Message-ID: <1523444493-12665-1-git-send-email-ulf.hansson@linaro.org> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Frederic Weisbecker , Ingo Molnar , Thomas Gleixner Cc: "Rafael J . Wysocki" , Ulf Hansson , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org The intent was likely to also make the inline version a bool, so let's change this. Fixes: a364298359e7 ("nohz: Convert tick_nohz_tick_stopped() to bool") Signed-off-by: Ulf Hansson --- include/linux/tick.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/tick.h b/include/linux/tick.h index 7f8c9a1..f9070b9 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h @@ -125,7 +125,7 @@ extern u64 get_cpu_idle_time_us(int cpu, u64 *last_update_time); extern u64 get_cpu_iowait_time_us(int cpu, u64 *last_update_time); #else /* !CONFIG_NO_HZ_COMMON */ #define tick_nohz_enabled (0) -static inline int tick_nohz_tick_stopped(void) { return 0; } +static inline bool tick_nohz_tick_stopped(void) { return false; } static inline int tick_nohz_tick_stopped_cpu(int cpu) { return 0; } static inline void tick_nohz_idle_enter(void) { } static inline void tick_nohz_idle_exit(void) { } -- 2.7.4