diff options
author | Chen Yucong <slaoub@gmail.com> | 2016-02-01 22:45:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-02-03 04:30:03 -0500 |
commit | 1b74dde7c47c19a73ea3e9fac95ac27b5d3d50c5 (patch) | |
tree | a7aa0b43cec934d61c1d6d03e52f86a729037b91 /arch/x86/kernel/cpu/intel_cacheinfo.c | |
parent | 16aaa53756501914a863ae7a15fcb070dc27c3d7 (diff) |
x86/cpu: Convert printk(KERN_<LEVEL> ...) to pr_<level>(...)
- Use the more current logging style pr_<level>(...) instead of the old
printk(KERN_<LEVEL> ...).
- Convert pr_warning() to pr_warn().
Signed-off-by: Chen Yucong <slaoub@gmail.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1454384702-21707-1-git-send-email-slaoub@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/intel_cacheinfo.c')
-rw-r--r-- | arch/x86/kernel/cpu/intel_cacheinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/intel_cacheinfo.c b/arch/x86/kernel/cpu/intel_cacheinfo.c index 0b6c52388cf4..6ed779efff26 100644 --- a/arch/x86/kernel/cpu/intel_cacheinfo.c +++ b/arch/x86/kernel/cpu/intel_cacheinfo.c | |||
@@ -444,7 +444,7 @@ static ssize_t store_cache_disable(struct cacheinfo *this_leaf, | |||
444 | err = amd_set_l3_disable_slot(nb, cpu, slot, val); | 444 | err = amd_set_l3_disable_slot(nb, cpu, slot, val); |
445 | if (err) { | 445 | if (err) { |
446 | if (err == -EEXIST) | 446 | if (err == -EEXIST) |
447 | pr_warning("L3 slot %d in use/index already disabled!\n", | 447 | pr_warn("L3 slot %d in use/index already disabled!\n", |
448 | slot); | 448 | slot); |
449 | return err; | 449 | return err; |
450 | } | 450 | } |