linux-2.4.6-pre6: numerous dep_{bool,tristate} $CONFIG_ARCH_xxx bugs

From: Adam J. Richter (
Date: Fri Jun 29 2001 - 09:10:51 EST

        The files in linux-2.4.6-pre6 have at least 28 cases
where a dep_bool or dep_tristate of the following form:

        dep_bool CONFIG_SOMETHING $CONFIG_ARCH_somearch

        The problem with this is that, unlike most configuration variables,
the $CONFIG_ARCH_xxxx variables are often not set to "n" when they are
not selected (they are often just not defined, for example, when they
are archectures for a completely different CPU type). When those variables
are not defined, that is essentially equivalent to passing "y" to dep_bool,
and the user is incorrectly asked about these facilities.

        I will put together patch to convert this to ugly but correct
"if then; ... ; fi" statements later today if nobody has any better

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104 \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:22 EST