x86: Support compiling out human-friendly processor feature names
authorJosh Triplett <josh@joshtriplett.org>
Wed, 30 Oct 2013 15:09:45 +0000 (08:09 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Sun, 17 Aug 2014 22:54:00 +0000 (15:54 -0700)
commit9def39be4e960917fcb80514ff23651f9ec97193
treefc898efcdaf87f15e70576481111291a4b8ed3ef
parent39f838e06f46576694d425ac30fe8ff1e214fc0b
x86: Support compiling out human-friendly processor feature names

The table mapping CPUID bits to human-readable strings takes up a
non-trivial amount of space, and only exists to support /proc/cpuinfo
and a couple of kernel messages.  Since programs depend on the format of
/proc/cpuinfo, force inclusion of the table when building with /proc
support; otherwise, support omitting that table to save space, in which
case the kernel messages will print features numerically instead.

In addition to saving 1408 bytes out of vmlinux, this also saves 1373
bytes out of the uncompressed setup code, which contributes directly to
the size of bzImage.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
arch/x86/Kconfig
arch/x86/boot/Makefile
arch/x86/boot/cpu.c
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/common.c
This page took 0.025139 seconds and 5 git commands to generate.