Skip to content

Commit

Permalink
[PATCH] x86-64: Remove CONFIG_REORDER
Browse files Browse the repository at this point in the history
The option never worked well and functionlist wasn't well maintained.
Also it made the build very slow on many binutils version.

So just remove it.

Cc: arjan@linux.intel.com
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed May 2, 2007
1 parent a106009 commit 2136220
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 1,296 deletions.
8 changes: 0 additions & 8 deletions arch/x86_64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -660,14 +660,6 @@ config CC_STACKPROTECTOR_ALL

source kernel/Kconfig.hz

config REORDER
bool "Function reordering"
default n
help
This option enables the toolchain to reorder functions for a more
optimal TLB usage. If you have pretty much any version of binutils,
this can increase your kernel build time by roughly one minute.

config K8_NB
def_bool y
depends on AGP_AMD64 || IOMMU || (PCI && NUMA)
Expand Down
1 change: 0 additions & 1 deletion arch/x86_64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ cflags-y += -m64
cflags-y += -mno-red-zone
cflags-y += -mcmodel=kernel
cflags-y += -pipe
cflags-kernel-$(CONFIG_REORDER) += -ffunction-sections
cflags-y += -Wno-sign-compare
cflags-y += -fno-asynchronous-unwind-tables
ifneq ($(CONFIG_DEBUG_INFO),y)
Expand Down
Loading

0 comments on commit 2136220

Please sign in to comment.