浏览代码

Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull extable dmesg fixlet from Ingo Molnar:
 "Small tweak to reduce kmsg boot time spam"

* 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  extable: Flip the sorting message
Linus Torvalds 12 年之前
父节点
当前提交
e486b4c4ba
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      kernel/extable.c

+ 3 - 3
kernel/extable.c

@@ -41,10 +41,10 @@ u32 __initdata main_extable_sort_needed = 1;
 /* Sort the kernel's built-in exception table */
 /* Sort the kernel's built-in exception table */
 void __init sort_main_extable(void)
 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);
 		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. */
 /* Given an address, look for it in the exception tables. */