public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] extable: Flip the sorting message
@ 2013-04-15 10:51 Borislav Petkov
  2013-04-15 11:42 ` [tip:x86/asm] " tip-bot for Borislav Petkov
  2013-04-25 21:54 ` [PATCH] " H. Peter Anvin
  0 siblings, 2 replies; 7+ messages in thread
From: Borislav Petkov @ 2013-04-15 10:51 UTC (permalink / raw)
  To: LKML; +Cc: H. Peter Anvin, X86 ML, Borislav Petkov, David Daney

From: Borislav Petkov <bp@suse.de>

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>
---
 kernel/extable.c | 6 +++---
 1 file 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. */
-- 
1.8.2.135.g7b592fa


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-25 22:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 10:51 [PATCH] extable: Flip the sorting message Borislav Petkov
2013-04-15 11:42 ` [tip:x86/asm] " tip-bot for Borislav Petkov
2013-04-25 21:54 ` [PATCH] " H. Peter Anvin
2013-04-25 22:05   ` Borislav Petkov
2013-04-25 22:07     ` H. Peter Anvin
2013-04-25 22:15       ` David Daney
2013-04-25 22:17         ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox