]> git.baikalelectronics.ru Git - kernel.git/commit
x86, setup: compile with -DDISABLE_BRANCH_PROFILING
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 2 Apr 2009 00:35:00 +0000 (17:35 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Apr 2009 14:34:45 +0000 (16:34 +0200)
commit14a21d94b66ff4ea51ded0a308bc784e30c31739
treedf0b1c3bc0406c5f570613e8ac74aa085d4dcdf6
parente36ddf7914c3f544f9f04e120829224fc2247554
x86, setup: compile with -DDISABLE_BRANCH_PROFILING

Impact: code size reduction (possibly critical)

The x86 boot and decompression code has no use of the branch profiling
constructs, so disable them.  This would bloat the setup code by as
much as 14K, eating up a fairly large chunk of the 32K area we are
guaranteed to have.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/boot/Makefile
arch/x86/boot/compressed/Makefile