Re: [PATCH] Kconfig.debug: combine Kconfig debug options

From: Geert Uytterhoeven
Date: Tue Jul 27 2004 - 07:57:01 EST


On Fri, 23 Jul 2004, Randy.Dunlap wrote:
> . localizes the following symbols in lib/Kconfig.debug:
> DEBUG_KERNEL, MAGIC_SYSRQ, DEBUG_SLAB, DEBUG_SPINLOCK,
> DEBUG_SPINLOCK_SLEEP, DEBUG_HIGHMEM, DEBUG_BUGVERBOSE,
> DEBUG_INFO

Which architecture does _not_ use DEBUG_KERNEL or DEBUG_SLAB? The list is quite
long... Aren't these generic?

Perhaps DEBUG_SPINLOCK can depend on just SMP only? Or do people want to debug
spinlock code on machines that don't have SMP?

Perhaps DEBUG_HIGHMEM can depend on just HIGHMEM only?

(didn't check the whole list) Perhaps the first instance of DEBUG_INFO
can depend on !SUPERH64 && !USERMODE only?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/