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


Groups > linux.kernel > #1346797 > unrolled thread

[PATCH] hrtimer: redundant #ifdef block

Started byPratyush Patel <pratyushpatel.1995@gmail.com>
First post2016-03-01 18:40 +0100
Last post2016-03-01 18:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] hrtimer: redundant #ifdef block Pratyush Patel <pratyushpatel.1995@gmail.com> - 2016-03-01 18:40 +0100

#1346797 — [PATCH] hrtimer: redundant #ifdef block

FromPratyush Patel <pratyushpatel.1995@gmail.com>
Date2016-03-01 18:40 +0100
Subject[PATCH] hrtimer: redundant #ifdef block
Message-ID<r7Wr7-3Ko-1@gated-at.bofh.it>
Only need CONFIG_NO_HZ_COMMON as this block is already in a
CONFIG_SMP block.

Signed-off-by: Pratyush Patel <pratyushpatel.1995@gmail.com>

diff -urpN a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
--- a/kernel/time/hrtimer.c	2016-02-28 22:11:20.000000000 +0530
+++ b/kernel/time/hrtimer.c	2016-03-01 22:01:29.538877512 +0530
@@ -177,7 +177,7 @@ hrtimer_check_target(struct hrtimer *tim
 #endif
 }
 
-#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON)
+#ifdef CONFIG_NO_HZ_COMMON
 static inline
 struct hrtimer_cpu_base *get_target_base(struct hrtimer_cpu_base *base,
 					 int pinned)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web