[PATCH RFC 3/5] kbuild/extable: Hook up sortextable into the build system.

2011-11-18 Thread David Daney
From: David Daney david.da...@cavium.com Define a config variable BUILDTIME_EXTABLE_SORT to control build time sorting of the kernel's exception table. Patch Makefile to do the sorting when BUILDTIME_EXTABLE_SORT is selected. Signed-off-by: David Daney david.da...@cavium.com --- Makefile |

[PATCH RFC 5/5] x86: Select BUILDTIME_EXTABLE_SORT

2011-11-18 Thread David Daney
From: David Daney david.da...@cavium.com We can sort the exeception table at build time for x86, so let's do it. Signed-off-by: David Daney david.da...@cavium.com --- arch/x86/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig

[PATCH RFC 4/5] MIPS: Select BUILDTIME_EXTABLE_SORT

2011-11-18 Thread David Daney
From: David Daney david.da...@cavium.com We can sort the exeception table at build time for MIPS, so let's do it. Signed-off-by: David Daney david.da...@cavium.com --- arch/mips/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/mips/Kconfig

[PATCH RFC 1/5] scripts: Add sortextable to sort the kernel's exception table.

2011-11-18 Thread David Daney
From: David Daney david.da...@cavium.com Using this build-time sort saves time booting as we don't have to burn cycles sorting the exception table. Signed-off-by: David Daney david.da...@cavium.com --- scripts/.gitignore|1 + scripts/Makefile |1 + scripts/sortextable.c | 273