Commit fc60971f authored by Andrew Morton's avatar Andrew Morton Committed by James Bottomley

[PATCH] move CONFIG_SWAP around

Patch from Tom Rini <trini@kernel.crashing.org>

Take CONFIG_SWAP out of the top-level menu into the general setup menu.  Make
it dependent on CONFIG_MMU and common to all architectures.
parent e7a88057
......@@ -15,10 +15,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config UID16
bool
......
......@@ -20,10 +20,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config EISA
bool
---help---
......
......@@ -9,10 +9,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config UID16
bool
default y
......
......@@ -18,15 +18,6 @@ config MMU
bool
default y
config SWAP
bool "Support for paging of anonymous memory"
default y
help
This option allows you to choose whether you want to have support
for socalled swap devices or swap files in your kernel that are
used to provide more virtual memory than the actual RAM present
in your computer. If unusre say Y.
config SBUS
bool
......
......@@ -22,10 +22,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config RWSEM_XCHGADD_ALGORITHM
bool
default y
......
......@@ -10,10 +10,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config UID16
bool
default y
......
......@@ -9,10 +9,6 @@ config MMU
bool
default n
config SWAP
bool
default n
config FPU
bool
default n
......
......@@ -10,10 +10,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config SMP
bool
---help---
......
......@@ -9,10 +9,6 @@ config MMU
bool
default y
config SWAP
bool
default y
source "init/Kconfig"
......
......@@ -18,10 +18,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config STACK_GROWSUP
bool
default y
......
......@@ -1126,22 +1126,6 @@ config BOOT_LOAD
config PIN_TLB
bool "Pinned Kernel TLBs (860 ONLY)"
depends on ADVANCED_OPTIONS && 8xx
config SWAP
bool "Enable support for swap"
depends on ADVANCED_OPTIONS
help
This option allows you to turn off support for swapfiles in
the kernel. This can be useful if you know that your system
will never have swap.
Say Y here unless you know what you are doing.
config SWAP
bool
depends on !ADVANCED_OPTIONS
default y
endmenu
source "drivers/mtd/Kconfig"
......
......@@ -7,10 +7,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config UID16
bool
......
......@@ -7,10 +7,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config UID16
bool
default y
......
......@@ -7,10 +7,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config RWSEM_GENERIC_SPINLOCK
bool
......
......@@ -18,10 +18,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config UID16
bool
default y
......
......@@ -9,10 +9,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config UID16
bool
default y
......
......@@ -9,10 +9,6 @@ config MMU
bool
default y
config SWAP
bool
default y
source "init/Kconfig"
......
......@@ -7,10 +7,6 @@ config MMU
bool
default y
config SWAP
bool
default y
mainmenu "Linux/Usermode Kernel Configuration"
config ISA
......
......@@ -10,9 +10,6 @@ mainmenu "uClinux/v850 (w/o MMU) Kernel Configuration"
config MMU
bool
default n
config SWAP
bool
default n
config UID16
bool
default n
......
......@@ -24,10 +24,6 @@ config MMU
bool
default y
config SWAP
bool
default y
config ISA
bool
......
......@@ -37,6 +37,16 @@ endmenu
menu "General setup"
config SWAP
bool "Support for paging of anonymous memory"
depends on MMU
default y
help
This option allows you to choose whether you want to have support
for socalled swap devices or swap files in your kernel that are
used to provide more virtual memory than the actual RAM present
in your computer. If unusre say Y.
config SYSVIPC
bool "System V IPC"
---help---
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment