CONFIG_* and user-visible #defines

Oliver Jowett (oliver@jowett.manawatu.planet.co.nz)
Tue, 25 Aug 1998 13:24:08 +1200 (NZST)


Is there a clean way to have dependencies on a CONFIG_* option in parts of
the kernel headers that aren't #ifdef __KERNEL__ ?

I need to set (at least) HZ and PAGE_SIZE depending on CONFIG_SUN3X, but
those definitions appear to be visible outside the kernel so including
linux/config.h seems like a bad idea..

-O

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html