lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160301172849.GA18152@cyborg>
Date:	Tue, 1 Mar 2016 22:58:49 +0530
From:	Pratyush Patel <pratyushpatel.1995@...il.com>
To:	tglx@...utronix.de
Cc:	linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: [PATCH] hrtimer: 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@...il.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)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ