[tip:x86/urgent] x86/microcode: Remove noisy AMD microcode warning

From: tip-bot for Prarit Bhargava
Date: Tue Feb 07 2012 - 14:41:14 EST


Commit-ID: c1d2f1bccf4259384e581b937e694ee8a350fe55
Gitweb: http://git.kernel.org/tip/c1d2f1bccf4259384e581b937e694ee8a350fe55
Author: Prarit Bhargava <prarit@xxxxxxxxxx>
AuthorDate: Mon, 6 Feb 2012 13:28:55 -0500
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Tue, 7 Feb 2012 10:53:42 +0100

x86/microcode: Remove noisy AMD microcode warning

AMD processors will never support /dev/cpu/microcode updating so
just silently fail instead of printing out a warning for every
cpu.

Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>
Cc: Borislav Petkov <borislav.petkov@xxxxxxx>
Link: http://lkml.kernel.org/r/1328552935-965-1-git-send-email-prarit@xxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/kernel/microcode_amd.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c
index ac0417b..73465aa 100644
--- a/arch/x86/kernel/microcode_amd.c
+++ b/arch/x86/kernel/microcode_amd.c
@@ -360,7 +360,6 @@ out:
static enum ucode_state
request_microcode_user(int cpu, const void __user *buf, size_t size)
{
- pr_info("AMD microcode update via /dev/cpu/microcode not supported\n");
return UCODE_ERROR;
}

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/