Re: Make HWSPINLOCK a menuconfig to ease disabling
From: Dave Jones
Date: Thu Jul 06 2017 - 23:27:20 EST
On Thu, Jul 06, 2017 at 11:23:50PM +0000, Linux Kernel wrote:
> Make HWSPINLOCK a menuconfig to ease disabling
> So that there's no need to get into the submenu to disable all related config
Here's how that looks on x86...
* Hardware Spinlock drivers
Hardware Spinlock drivers (HWSPINLOCK) [N/m/y] (NEW) ?
There is no help available for this option.
Symbol: HWSPINLOCK [=n]
Type : tristate
Prompt: Hardware Spinlock drivers
-> Device Drivers
Defined at drivers/hwspinlock/Kconfig:5
No help ? Ok whatever, let's see what happens..
Hardware Spinlock drivers (HWSPINLOCK) [N/m/y] (NEW) m
And then nothing, because none of the drivers that depend on this are available for x86
because of stuff like this..
> config HWSPINLOCK_OMAP
> tristate "OMAP Hardware Spinlock device"
> depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX
> config HWSPINLOCK_QCOM
> tristate "Qualcomm Hardware Spinlock device"
> depends on ARCH_QCOM
> config HWSPINLOCK_SIRF
> tristate "SIRF Hardware Spinlock device"
> depends on ARCH_SIRF
> config HSEM_U8500
> tristate "STE Hardware Semaphore functionality"
> depends on ARCH_U8500
HWSPINLOCK needs all those depends too.