projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5227d0
)
hrtimer: Remove redundant #ifdef block
author
Pratyush Patel
<pratyushpatel.1995@gmail.com>
Tue, 1 Mar 2016 17:28:49 +0000
(22:58 +0530)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 10 Jun 2016 09:25:35 +0000
(11:25 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/time/hrtimer.c
b/kernel/time/hrtimer.c
index e99df0ff1d424528dd3e54663472dd5fc4a6c796..d13c9aebf7a3b7e955b897f30f749dc0907f15dc 100644
(file)
--- 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)
+#if
def CONFIG_NO_HZ_COMMON
static inline
struct hrtimer_cpu_base *get_target_base(struct hrtimer_cpu_base *base,
int pinned)