From: Borislav Petkov Date: Mon, 15 Apr 2013 10:51:49 +0000 (+0200) Subject: extable: Flip the sorting message X-Git-Tag: v3.12-rc1~978^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bec1b9e76353ecf05fac6a87f8e4102dfb618cd2;p=kernel%2Fkernel-generic.git 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 Cc: David Daney Link: http://lkml.kernel.org/r/1366023109-12098-1-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar --- diff --git a/kernel/extable.c b/kernel/extable.c index fe35a63..67460b9 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. */