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 |
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
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
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