Commit bec1b9e76353ecf05fac6a87f8e4102dfb618cd2
Committed by
Ingo Molnar
1 parent
41ef2d5678
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
kernel/extable.c
... | ... | @@ -41,10 +41,10 @@ |
41 | 41 | /* Sort the kernel's built-in exception table */ |
42 | 42 | void __init sort_main_extable(void) |
43 | 43 | { |
44 | - if (main_extable_sort_needed) | |
44 | + if (main_extable_sort_needed) { | |
45 | + pr_notice("Sorting __ex_table...\n"); | |
45 | 46 | sort_extable(__start___ex_table, __stop___ex_table); |
46 | - else | |
47 | - pr_notice("__ex_table already sorted, skipping sort\n"); | |
47 | + } | |
48 | 48 | } |
49 | 49 | |
50 | 50 | /* Given an address, look for it in the exception tables. */ |