Re: [2.6.24-rc5-mm1] Why CONFIG_BLK_DEV_RAM=m makes\"#ifdef CONFIG_BLK_DEV_RAM\" false?

From: Randy Dunlap
Date: Fri Dec 14 2007 - 00:45:49 EST


On Fri, 14 Dec 2007 14:04:19 +0900 Tetsuo Handa wrote:

> Hello.
>
> I found that
>
> CONFIG_BLK_DEV_RAM=m
>
> in my .config makes
>
> #ifdef CONFIG_BLK_DEV_RAM
>
> false.
>
> I guess something is wrong with .config parsing.

Look at include/linux/autoconf.h. You should see a line like:

#define CONFIG_BLK_DEV_RAM_MODULE 1

if CONFIG_BLK_DEV_RAM=m

or like:

#define CONFIG_BLK_DEV_RAM 1

if CONFIG_BLK_DEV_RAM=y.


I don't think that this is a change from the recent past.

---
~Randy
--
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/