x86, mce: use extended sysattrs for the check_interval attribute.
commitb56f642d2bf8c1f7c6499c1e55b23311a33cc796
authorAndi Kleen <andi@firstfloor.org>
Wed, 27 May 2009 19:56:52 +0000 (27 21:56 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 28 May 2009 16:24:15 +0000 (28 09:24 -0700)
tree1bb766756da14454a027565c14914999b1a16191
parent88921be30296e126896ee4d30758f989d1c4ddfb
x86, mce: use extended sysattrs for the check_interval attribute.

Instead of using own callbacks use the generic ones provided by
the sysdev later.

This finally allows to get rid of the ugly ACCESSOR macros. Should
also save some text size.

[ Impact: cleanup ]

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c