From: Herbert Xu <herbert@gondor.apana.org.au>
By allowing X86_MCE_NONFATAL to be a module, it can be included in
distribution kernels without upsetting those with strange hardware.
the 386 and 486, so nearly everyone can say Y here.
config X86_MCE_NONFATAL
- bool "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4"
+ tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4"
depends on X86_MCE
help
Enabling this feature starts a timer that triggers every 5 seconds which
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/config.h>
+#include <linux/module.h>
#include <linux/smp.h>
#include <linux/thread_info.h>
int mce_disabled __initdata = 0;
int nr_mce_banks;
+EXPORT_SYMBOL_GPL(nr_mce_banks); /* non-fatal.o */
+
/* Handle unconfigured int18 (should never happen) */
static asmlinkage void unexpected_machine_check(struct pt_regs * regs, long error_code)
{