x86: ucode-amd: Move family check to microcde_amd.c's init function
authorAndreas Herrmann <herrmann.der.user@googlemail.com>
Tue, 17 Nov 2009 07:06:38 +0000 (08:06 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 17 Nov 2009 09:10:40 +0000 (10:10 +0100)
commit8cc2361bd00e87aab2827a3996a71fe9b2c9f9c4
treeba7be300bdea4a9eb041805f88727889e7247283
parent9f15226e75583547aaf542c6be4bdac1060dd425
x86: ucode-amd: Move family check to microcde_amd.c's init function

... to avoid useless trial to load firmware on systems with
unsupported AMD CPUs.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Cc: Mike Travis <travis@sgi.com>
Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
Cc: Borislav Petkov <borislav.petkov@amd.com>
Cc: Andreas Mohr <andi@lisas.de>
Cc: Jack Steiner <steiner@sgi.com>
LKML-Reference: <20091117070638.GA27691@alberich.amd.com>
[ v2: changed BUG_ON() to WARN_ON() ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/microcode_amd.c