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>] [day] [month] [year] [list]
Message-ID: <20150220192907.580dce66@endymion.delvare>
Date:	Fri, 20 Feb 2015 19:29:07 +0100
From:	Jean Delvare <jdelvare@...e.de>
To:	linux-kernel@...r.kernel.org
Cc:	Daniel Lezcano <daniel.lezcano@...aro.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Oleksij Rempel <linux@...pel-privat.de>
Subject: [PATCH] clocksource: asm9260_timer: Add hardware dependency

The asm9260_timer driver is useless if not building a MACH_ASM9260
kernel, so add the proper dependency to hide it for all other users
by default.

Signed-off-by: Jean Delvare <jdelvare@...e.de>
Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Oleksij Rempel <linux@...pel-privat.de>
---
 drivers/clocksource/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-3.20-rc0.orig/drivers/clocksource/Kconfig	2015-02-20 17:24:45.793932950 +0100
+++ linux-3.20-rc0/drivers/clocksource/Kconfig	2015-02-20 19:23:37.624423235 +0100
@@ -249,6 +249,7 @@ config CLKSRC_PXA
 config ASM9260_TIMER
 	bool "Alphascale ASM9260 timer driver"
 	depends on GENERIC_CLOCKEVENTS
+	depends on MACH_ASM9260 || COMPILE_TEST
 	select CLKSRC_MMIO
 	select CLKSRC_OF
 	default y if MACH_ASM9260


-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ