[PATCH] 2.5.39 - make MCE options arch dependent

From: Phil Oester (kernel@theoesters.com)
Date: Sun Sep 29 2002 - 18:12:06 EST


No need to see P4 or Athlon options if you don't have one...

-Phil

--- linux-2.5.39-orig/arch/i386/config.in Fri Sep 27 14:49:42 2002
+++ linux-2.5.39/arch/i386/config.in Sun Sep 29 15:55:44 2002
@@ -187,8 +187,12 @@
 fi
 
 bool 'Machine Check Exception' CONFIG_X86_MCE
-dep_bool 'Check for non-fatal errors on Athlon/Duron' CONFIG_X86_MCE_NONFATAL $CONFIG_X86_MCE
-dep_bool 'check for P4 thermal throttling interrupt.' CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_UP_APIC
+if [ "$CONFIG_MK7" = "y" ]; then
+ dep_bool 'Check for non-fatal errors on Athlon/Duron' CONFIG_X86_MCE_NONFATAL $CONFIG_X86_MCE
+fi
+if [ "$CONFIG_MPENTIUM4" = "y" ]; then
+ dep_bool 'Check for P4 thermal throttling interrupt' CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_UP_APIC
+fi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:43 EST