diff options
author | Borislav Petkov <bp@alien8.de> | 2017-01-31 18:53:34 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-02-01 11:07:23 +0100 |
commit | e22af0be2cf654bb225f19750c6b9aab1627dc9e (patch) | |
tree | 64aa2bcd5a5cb887e43a178d3b9b80a656d903b3 /Documentation/hwmon/ltc2990 | |
parent | xen, x86/headers: Add <linux/device.h> dependency to <asm/xen/page.h> (diff) | |
download | linux-e22af0be2cf654bb225f19750c6b9aab1627dc9e.tar.xz linux-e22af0be2cf654bb225f19750c6b9aab1627dc9e.zip |
x86/boot: Fix pr_debug() API braindamage
What looked like a straightforward conversion from printk(KERN_DEBUG, ...)
to pr_debug() broke the boot log output:
DMI: /M57SLI-S4, BIOS FF 01/24/2008
-e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
-e820: remove [mem 0x000a0000-0x000fffff] usable
+usable ==> reserved
+usable
e820: last_pfn = 0x230000 max_arch_pfn = 0x400000000
...
x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC- WT
-e820: update [mem 0xd0000000-0xffffffff] usable ==> reserved
+usable ==> reserved
i.e. spurious (and nonsensical) kernel log entries were created...
We need a pr_debug_and_I_mean_it() function which does nothing but
printk(KERN_DEBUG...
Signed-off-by: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
[ Wrote changelog. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions