]> git.ipfire.org Git - people/arne_f/kernel.git/commit
EDAC, mce_amd: Get rid of most struct cpuinfo_x86 uses
authorBorislav Petkov <bp@suse.de>
Tue, 25 Jul 2017 09:07:03 +0000 (11:07 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 21 Aug 2017 15:54:57 +0000 (17:54 +0200)
commitf3c0891c2feafa008cc35d6ffb8cf593df66c867
tree6397f1f8635c3dc2fb2b92790b28ca1b23271f2e
parent4ab1784b48b384e52a6539ab10201fed7a3127f5
EDAC, mce_amd: Get rid of most struct cpuinfo_x86 uses

struct mce.cpuid contains CPUID(1).EAX which contains family, model and
stepping and thus has enough information for our purposes. Thus get rid
of some external dependencies which are not really needed.

No functionality change.

Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mce_amd.c