/* Why are there no generic functions for this? */
#define ACCESSOR(name, var, start) \
/* Why are there no generic functions for this? */
#define ACCESSOR(name, var, start) \
sysdev_remove_file(&per_cpu(device_mce,cpu), &attr_check_interval);
sysdev_unregister(&per_cpu(device_mce,cpu));
}
sysdev_remove_file(&per_cpu(device_mce,cpu), &attr_check_interval);
sysdev_unregister(&per_cpu(device_mce,cpu));
}
static struct notifier_block mce_cpu_notifier = {
.notifier_call = mce_cpu_callback,
};
static struct notifier_block mce_cpu_notifier = {
.notifier_call = mce_cpu_callback,
};