x86, mce: fix confusion between bank attributes and mce attributes
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Tue, 8 Dec 2009 07:52:44 +0000 (16:52 +0900)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 8 Dec 2009 20:11:20 +0000 (12:11 -0800)
commit5c0e9f28da84c68ce0ae68b7a75faaf862e156e2
tree19bd3c6099a1e397e68b9ecf10d14c0ecb7dc5dd
parentbc09effabf0c5c6c7021e5ef9af15a23579b32a8
x86, mce: fix confusion between bank attributes and mce attributes

Commit cebe182033f156b430952370fb0f9dbe6e89b081 had an unnecessary,
wrong change: &mce_banks[i].attr is equivalent to the former
bank_attrs[i], not to mce_attrs[i].

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Acked-by: Andi Kleen <andi@firstfloor.org>
LKML-Reference: <4B1E05CC.4040703@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c