[PATCH 0/7] x86/boot: Shrink the decompression stub: conditionally exclude cmdline processing

From: Joe Millenbach
Date: Sat Jul 21 2012 - 06:41:53 EST


This is a patch set that progressively allows more of the decompression command
line processing code to be removed if it can't be used. This can shrink the
compressed kernel image by over 2k. The quiet and debug flags been switched to
use the pre-existing CONFIG_X86_VERBOSE_BOOT compile flag instead. And when
not compiled with earlyprintk debugging, the command-line processing code now
has nothing to configure, so exclude it entirely.

Gokul Caushik (1):
x86/boot: Exclude cmdline.c if you can't use it

Joe Millenbach (6):
x86/boot: Removed quiet flag and switched quiet output to debug flag
x86/boot: Wrap debug printing in a new debug_putstr function
x86/boot: Changed error putstr path to match new debug_putstr format
x86/boot: Switch output functions from command-line flags to
conditional compilation
x86/boot: Removed unused debug flag and set code
x86/boot: Exclude early_serial_console.c if can't use it.

arch/x86/boot/compressed/cmdline.c | 4 +++
arch/x86/boot/compressed/early_serial_console.c | 4 +++
arch/x86/boot/compressed/misc.c | 31 ++++++-----------------
arch/x86/boot/compressed/misc.h | 27 +++++++++++++++++---
4 files changed, 40 insertions(+), 26 deletions(-)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/