diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-04 12:32:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-04 12:32:47 -0400 |
commit | 7b6ea43d3f90ba1db87883126c2c09777f51d3d6 (patch) | |
tree | 588ae7d8722b5ba31337b72c3dd5d9a9b3143e0d | |
parent | 126d4576cb73c8a440adc37c129589cd66051bcc (diff) | |
parent | 62b4d2041117f35ab2409c9f5c4b8d3dc8e59d0f (diff) |
Merge tag 'tiny/kconfig-for-3.17' of https://git.kernel.org/pub/scm/linux/kernel/git/josh/linux
Pull kconfig fixes for tiny setups from Josh Triplett:
"Two Kconfig bugfixes for 3.17 related to tinification. These fixes
make the Kconfig "General Setup" menu much more usable"
* tag 'tiny/kconfig-for-3.17' of https://git.kernel.org/pub/scm/linux/kernel/git/josh/linux:
init/Kconfig: Fix HAVE_FUTEX_CMPXCHG to not break up the EXPERT menu
init/Kconfig: Hide printk log config if CONFIG_PRINTK=n
-rw-r--r-- | init/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index e84c6423a2e5..80a6907f91c5 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -811,6 +811,7 @@ config LOG_BUF_SHIFT | |||
811 | int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" | 811 | int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" |
812 | range 12 21 | 812 | range 12 21 |
813 | default 17 | 813 | default 17 |
814 | depends on PRINTK | ||
814 | help | 815 | help |
815 | Select the minimal kernel log buffer size as a power of 2. | 816 | Select the minimal kernel log buffer size as a power of 2. |
816 | The final size is affected by LOG_CPU_MAX_BUF_SHIFT config | 817 | The final size is affected by LOG_CPU_MAX_BUF_SHIFT config |
@@ -830,6 +831,7 @@ config LOG_CPU_MAX_BUF_SHIFT | |||
830 | range 0 21 | 831 | range 0 21 |
831 | default 12 if !BASE_SMALL | 832 | default 12 if !BASE_SMALL |
832 | default 0 if BASE_SMALL | 833 | default 0 if BASE_SMALL |
834 | depends on PRINTK | ||
833 | help | 835 | help |
834 | This option allows to increase the default ring buffer size | 836 | This option allows to increase the default ring buffer size |
835 | according to the number of CPUs. The value defines the contribution | 837 | according to the number of CPUs. The value defines the contribution |
@@ -1475,6 +1477,7 @@ config FUTEX | |||
1475 | 1477 | ||
1476 | config HAVE_FUTEX_CMPXCHG | 1478 | config HAVE_FUTEX_CMPXCHG |
1477 | bool | 1479 | bool |
1480 | depends on FUTEX | ||
1478 | help | 1481 | help |
1479 | Architectures should select this if futex_atomic_cmpxchg_inatomic() | 1482 | Architectures should select this if futex_atomic_cmpxchg_inatomic() |
1480 | is implemented and always working. This removes a couple of runtime | 1483 | is implemented and always working. This removes a couple of runtime |