aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2005-01-04 05:15:26 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:15:26 -0800
commit2954850ea90ffb25c0acff03398af95fbde3d034 (patch)
treee3fa62f5754b9d550e8b393e8d0e16ee1a620960 /init
parentde796c9af8ac2598eb501ec05d117d7f7822c221 (diff)
downloadhistory-2954850ea90ffb25c0acff03398af95fbde3d034.tar.gz
[PATCH] VM routine fixes
The attached patch fixes a number of problems in the VM routines: (1) Some inline funcs don't compile if CONFIG_MMU is not set. (2) swapper_pml4 needn't exist if CONFIG_MMU is not set. (3) __free_pages_ok() doesn't counter set_page_refs() different behaviour if CONFIG_MMU is not set. (4) swsusp.c invokes TLB flushing functions without including the header file that declares them. CONFIG_SHMEM semantics: - If MMU: Always enabled if !EMBEDDED - If MMU && EMBEDDED: configurable - If !MMU: disabled Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index dfc7266b86a2ab..897465c6f28063 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -316,8 +316,9 @@ config CC_OPTIMIZE_FOR_SIZE
If unsure, say N.
config SHMEM
+ bool "Use full shmem filesystem" if EMBEDDED
default y
- bool "Use full shmem filesystem" if EMBEDDED && MMU
+ depends on MMU
help
The shmem is an internal filesystem used to manage shared memory.
It is backed by swap and manages resource limits. It is also exported