lib: build list_sort() only if needed
authorDon Mullis <don.mullis@gmail.com>
Fri, 5 Mar 2010 21:43:16 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:35 +0000 (11:26 -0800)
commita069c266ae5fdfbf5b4aecf2c672413aa33b2504
tree2f9731d8475fc5b2d942cac004904db8e49d5428
parent02b12b7a28faa2e9ed5a361cd08ea576ab1f1509
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>
drivers/gpu/drm/Kconfig
fs/ubifs/Kconfig
lib/Kconfig
lib/Makefile