diff options
author | Matt Mackall <mpm@selenic.com> | 2009-01-06 17:40:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 18:59:08 -0500 |
commit | 853ac43ab194f5051b27a55060215d696dc9480d (patch) | |
tree | 1f60fd49d516b7b242781a77446993b1dfb5bb66 /init | |
parent | 69e9930993cfd70d82c8d9dd96fc3a88854d06fc (diff) |
shmem: unify regular and tiny shmem
tiny-shmem shares most of its 130 lines of code with shmem and tends to
break when particular bits of shmem get modified. Unifying saves code and
makes keeping these two in sync much easier.
before:
14367 392 24 14783 39bf mm/shmem.o
396 72 8 476 1dc mm/tiny-shmem.o
after:
14367 392 24 14783 39bf mm/shmem.o
412 72 8 492 1ec mm/shmem.o tiny
Signed-off-by: Matt Mackall <mpm@selenic.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/init/Kconfig b/init/Kconfig index 52847eec7398..315a6114bf87 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -838,10 +838,6 @@ config RT_MUTEXES | |||
838 | boolean | 838 | boolean |
839 | select PLIST | 839 | select PLIST |
840 | 840 | ||
841 | config TINY_SHMEM | ||
842 | default !SHMEM | ||
843 | bool | ||
844 | |||
845 | config BASE_SMALL | 841 | config BASE_SMALL |
846 | int | 842 | int |
847 | default 0 if BASE_FULL | 843 | default 0 if BASE_FULL |