]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.arch/bug-535380-x86-change-some-messages-to-debug.patch
Fix oinkmaster patch.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.arch / bug-535380-x86-change-some-messages-to-debug.patch
CommitLineData
82094b55
AF
1From: Rafael J. Wysocki <rjw@suse.de>
2Subject: x86: Decrease the level of some NUMA messages to KERN_DEBUG
3References: bnc#535380
4Patch-upstream: Yes
5
6This is a backport of upstream commit
723b6c52cf558f2a1dc6c7010c601b3624eb4591f
8(x86: Decrease the level of some NUMA messages to KERN_DEBUG).
9
10Some NUMA messages in srat_32.c are confusing to users, because they
11seem to indicate errors, while in fact they reflect normal behaviour.
12
13Decrease the level of these messages to KERN_DEBUG so that they don't
14show up unnecessarily.
15
16Signed-off-by: Rafael J. Wysocki <rjw@suse.de>
17---
18 arch/x86/mm/srat_32.c | 6 +++---
19 1 file changed, 3 insertions(+), 3 deletions(-)
20
21Index: linux-2.6.27-SLE11_BRANCH/arch/x86/mm/srat_32.c
22===================================================================
23--- linux-2.6.27-SLE11_BRANCH.orig/arch/x86/mm/srat_32.c
24+++ linux-2.6.27-SLE11_BRANCH/arch/x86/mm/srat_32.c
25@@ -215,8 +215,8 @@ int __init get_memcfg_from_srat(void)
26 goto out_fail;
27
28 if (num_memory_chunks == 0) {
29- printk(KERN_WARNING
30- "could not finy any ACPI SRAT memory areas.\n");
31+ printk(KERN_DEBUG
32+ "could not find any ACPI SRAT memory areas.\n");
33 goto out_fail;
34 }
35
36@@ -277,7 +277,7 @@ int __init get_memcfg_from_srat(void)
37 }
38 return 1;
39 out_fail:
40- printk(KERN_ERR "failed to get NUMA memory information from SRAT"
41+ printk(KERN_DEBUG "failed to get NUMA memory information from SRAT"
42 " table\n");
43 return 0;
44 }