]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/suse-2.6.27.39/patches.arch/bug-535380-x86-change-some-messages-to-debug.patch
Imported linux-2.6.27.39 suse/xen patches.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.arch / bug-535380-x86-change-some-messages-to-debug.patch
1 From: Rafael J. Wysocki <rjw@suse.de>
2 Subject: x86: Decrease the level of some NUMA messages to KERN_DEBUG
3 References: bnc#535380
4 Patch-upstream: Yes
5
6 This is a backport of upstream commit
7 23b6c52cf558f2a1dc6c7010c601b3624eb4591f
8 (x86: Decrease the level of some NUMA messages to KERN_DEBUG).
9
10 Some NUMA messages in srat_32.c are confusing to users, because they
11 seem to indicate errors, while in fact they reflect normal behaviour.
12
13 Decrease the level of these messages to KERN_DEBUG so that they don't
14 show up unnecessarily.
15
16 Signed-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
21 Index: 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 }