mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
69e9930993
commit
853ac43ab1
4 changed files with 72 additions and 151 deletions
|
|
@ -838,10 +838,6 @@ config RT_MUTEXES
|
|||
boolean
|
||||
select PLIST
|
||||
|
||||
config TINY_SHMEM
|
||||
default !SHMEM
|
||||
bool
|
||||
|
||||
config BASE_SMALL
|
||||
int
|
||||
default 0 if BASE_FULL
|
||||
|
|
|
|||
Loading…
Reference in a new issue