summaryrefslogtreecommitdiffstats
path: root/kernel/extable.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-04-15 12:51:49 +0200
committerIngo Molnar <mingo@kernel.org>2013-04-15 13:25:16 +0200
commitbec1b9e76353ecf05fac6a87f8e4102dfb618cd2 (patch)
tree8bf569a85520ed83278a4f3b93d88d156b402425 /kernel/extable.c
parent41ef2d5678d83af030125550329b6ae8b74618fa (diff)
downloadlinux-bec1b9e76353ecf05fac6a87f8e4102dfb618cd2.tar.bz2
extable: Flip the sorting message
Now that we do sort the __extable at build time, we actually are interested only in the case where we still do need to sort it. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: David Daney <david.daney@cavium.com> Link: http://lkml.kernel.org/r/1366023109-12098-1-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/extable.c')
-rw-r--r--kernel/extable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/extable.c b/kernel/extable.c
index fe35a634bf76..67460b93b1a1 100644
--- a/kernel/extable.c
+++ b/kernel/extable.c
@@ -41,10 +41,10 @@ u32 __initdata main_extable_sort_needed = 1;
/* Sort the kernel's built-in exception table */
void __init sort_main_extable(void)
{
- if (main_extable_sort_needed)
+ if (main_extable_sort_needed) {
+ pr_notice("Sorting __ex_table...\n");
sort_extable(__start___ex_table, __stop___ex_table);
- else
- pr_notice("__ex_table already sorted, skipping sort\n");
+ }
}
/* Given an address, look for it in the exception tables. */