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 ...@@ -15,10 +15,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config UID16 config UID16
bool bool
......
...@@ -20,10 +20,6 @@ config MMU ...@@ -20,10 +20,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config EISA config EISA
bool bool
---help--- ---help---
......
...@@ -9,10 +9,6 @@ config MMU ...@@ -9,10 +9,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config UID16 config UID16
bool bool
default y default y
......
...@@ -18,15 +18,6 @@ config MMU ...@@ -18,15 +18,6 @@ config MMU
bool bool
default y 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 config SBUS
bool bool
......
...@@ -22,10 +22,6 @@ config MMU ...@@ -22,10 +22,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config RWSEM_XCHGADD_ALGORITHM config RWSEM_XCHGADD_ALGORITHM
bool bool
default y default y
......
...@@ -10,10 +10,6 @@ config MMU ...@@ -10,10 +10,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config UID16 config UID16
bool bool
default y default y
......
...@@ -9,10 +9,6 @@ config MMU ...@@ -9,10 +9,6 @@ config MMU
bool bool
default n default n
config SWAP
bool
default n
config FPU config FPU
bool bool
default n default n
......
...@@ -10,10 +10,6 @@ config MMU ...@@ -10,10 +10,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config SMP config SMP
bool bool
---help--- ---help---
......
...@@ -9,10 +9,6 @@ config MMU ...@@ -9,10 +9,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
source "init/Kconfig" source "init/Kconfig"
......
...@@ -18,10 +18,6 @@ config MMU ...@@ -18,10 +18,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config STACK_GROWSUP config STACK_GROWSUP
bool bool
default y default y
......
...@@ -1126,22 +1126,6 @@ config BOOT_LOAD ...@@ -1126,22 +1126,6 @@ config BOOT_LOAD
config PIN_TLB config PIN_TLB
bool "Pinned Kernel TLBs (860 ONLY)" bool "Pinned Kernel TLBs (860 ONLY)"
depends on ADVANCED_OPTIONS && 8xx 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 endmenu
source "drivers/mtd/Kconfig" source "drivers/mtd/Kconfig"
......
...@@ -7,10 +7,6 @@ config MMU ...@@ -7,10 +7,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config UID16 config UID16
bool bool
......
...@@ -7,10 +7,6 @@ config MMU ...@@ -7,10 +7,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config UID16 config UID16
bool bool
default y default y
......
...@@ -7,10 +7,6 @@ config MMU ...@@ -7,10 +7,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config RWSEM_GENERIC_SPINLOCK config RWSEM_GENERIC_SPINLOCK
bool bool
......
...@@ -18,10 +18,6 @@ config MMU ...@@ -18,10 +18,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config UID16 config UID16
bool bool
default y default y
......
...@@ -9,10 +9,6 @@ config MMU ...@@ -9,10 +9,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config UID16 config UID16
bool bool
default y default y
......
...@@ -9,10 +9,6 @@ config MMU ...@@ -9,10 +9,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
source "init/Kconfig" source "init/Kconfig"
......
...@@ -7,10 +7,6 @@ config MMU ...@@ -7,10 +7,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
mainmenu "Linux/Usermode Kernel Configuration" mainmenu "Linux/Usermode Kernel Configuration"
config ISA config ISA
......
...@@ -10,9 +10,6 @@ mainmenu "uClinux/v850 (w/o MMU) Kernel Configuration" ...@@ -10,9 +10,6 @@ mainmenu "uClinux/v850 (w/o MMU) Kernel Configuration"
config MMU config MMU
bool bool
default n default n
config SWAP
bool
default n
config UID16 config UID16
bool bool
default n default n
......
...@@ -24,10 +24,6 @@ config MMU ...@@ -24,10 +24,6 @@ config MMU
bool bool
default y default y
config SWAP
bool
default y
config ISA config ISA
bool bool
......
...@@ -37,6 +37,16 @@ endmenu ...@@ -37,6 +37,16 @@ endmenu
menu "General setup" 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 config SYSVIPC
bool "System V IPC" bool "System V IPC"
---help--- ---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