diff options
author | Don Mullis <don.mullis@gmail.com> | 2010-03-05 22:43:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 20:26:35 +0100 |
commit | a069c266ae5fdfbf5b4aecf2c672413aa33b2504 (patch) | |
tree | 2f9731d8475fc5b2d942cac004904db8e49d5428 /lib/Kconfig | |
parent | lib: revise list_sort() header comment (diff) | |
download | linux-a069c266ae5fdfbf5b4aecf2c672413aa33b2504.tar.xz linux-a069c266ae5fdfbf5b4aecf2c672413aa33b2504.zip |
lib: build list_sort() only if needed
Build list_sort() only for configs that need it -- those that don't save
~581 bytes (i386).
Signed-off-by: Don Mullis <don.mullis@gmail.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Artem Bityutskiy <dedekind@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 97b136ff117e..8034c46327cb 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -160,6 +160,9 @@ config TEXTSEARCH_BM config TEXTSEARCH_FSM tristate +config LIST_SORT + boolean + config HAS_IOMEM boolean depends on !NO_IOMEM |