x86: mce: Move per bank data in a single datastructure
authorAndi Kleen <andi@firstfloor.org>
Wed, 8 Jul 2009 22:31:43 +0000 (00:31 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 10 Jul 2009 01:39:47 +0000 (18:39 -0700)
commitcebe182033f156b430952370fb0f9dbe6e89b081
tree21afc7228fa12c243f29b45ac670f9a9df2f4701
parent9eda8cb3ac235217e4ffa01cb9cedee1c1550599
x86: mce: Move per bank data in a single datastructure

This addresses one of the leftover review comments.

Move the per bank data into a single structure. This avoids
several separate variables and also separate allocation of sysfs objects.

I didn't move the CMCI ownership information so far because
that would have needed some non trivial changes in the algorithms.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce-internal.h
arch/x86/kernel/cpu/mcheck/mce.c