Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for .c files

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Saturday, May 24, 2008 - 1:58 pm

Jeremy Fitzhardinge wrote:

Would

    #define KCONFIG(x)   (CONFIG_##x - 0)

    if (KCONFIG(PREEMPT)) {
        ...
    }

work?

    J
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 1:14 pm)
[PATCH] x86: use defconfig as last resort, Sam Ravnborg, (Sat May 24, 1:37 pm)
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 1:48 pm)
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 1:56 pm)
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 1:58 pm)
Re: [RFC PATCH] kconfig: introduce KCONFIG_* symbols for . ..., Jeremy Fitzhardinge, (Sat May 24, 2:13 pm)
Re: [PATCH] x86: use defconfig as last resort, Linus Torvalds, (Sat May 24, 6:30 pm)
Re: [PATCH] x86: use defconfig as last resort, Sam Ravnborg, (Sat May 24, 11:15 pm)
Re: [PATCH] x86: use defconfig as last resort, Sam Ravnborg, (Sat May 24, 11:22 pm)