* [PATCH] hrtimer: redundant #ifdef block
@ 2016-03-01 17:28 Pratyush Patel
2016-06-10 9:31 ` [tip:timers/core] hrtimer: Remove " tip-bot for Pratyush Patel
0 siblings, 1 reply; 2+ messages in thread
From: Pratyush Patel @ 2016-03-01 17:28 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] 2+ messages in thread
* [tip:timers/core] hrtimer: Remove redundant #ifdef block
2016-03-01 17:28 [PATCH] hrtimer: redundant #ifdef block Pratyush Patel
@ 2016-06-10 9:31 ` tip-bot for Pratyush Patel
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Pratyush Patel @ 2016-06-10 9:31 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, mingo, tglx, pratyushpatel.1995, hpa
Commit-ID: 86721ab63b61ef1dd7305308e4049f644703decf
Gitweb: http://git.kernel.org/tip/86721ab63b61ef1dd7305308e4049f644703decf
Author: Pratyush Patel <pratyushpatel.1995@gmail.com>
AuthorDate: Tue, 1 Mar 2016 22:58:49 +0530
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 10 Jun 2016 11:25:35 +0200
hrtimer: Remove redundant #ifdef block
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>
Link: http://lkml.kernel.org/r/20160301172849.GA18152@cyborg
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
kernel/time/hrtimer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index e99df0f..d13c9ae 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -177,7 +177,7 @@ hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base)
#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 related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-10 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-01 17:28 [PATCH] hrtimer: redundant #ifdef block Pratyush Patel
2016-06-10 9:31 ` [tip:timers/core] hrtimer: Remove " tip-bot for Pratyush Patel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).