* [PATCH] hrtimer: redundant #ifdef block
@ 2016-03-01 17:40 Pratyush Patel
0 siblings, 0 replies; only message in thread
From: Pratyush Patel @ 2016-03-01 17:40 UTC (permalink / raw)
To: tglx; +Cc: linux-kernel, kernel-janitors
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-01 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01 17:40 [PATCH] hrtimer: redundant #ifdef block Pratyush Patel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox