Re: [PATCH 3/4] NOMMU: Make it possible for RomFS to use MTDdevices directly

From: Andrew Morton
Date: Thu Feb 19 2009 - 19:13:34 EST


On Thu, 12 Feb 2009 10:40:10 +0000
David Howells <dhowells@xxxxxxxxxx> wrote:

> Change RomFS so that it can use MTD devices directly - without the intercession
> of the block layer - as well as using block devices.
>
> This permits RomFS:
>
> (1) to use the MTD direct mapping facility available under NOMMU conditions if
> the underlying device is directly accessible by the CPU (including XIP);
>
> (2) and thus to be used when the block layer is disabled.
>
> RomFS can be configured with support just for MTD devices, just for Block
> devices or for both. If RomFS is configured for both, then it will treat
> mtdblock device files as MTD backing stores, not block layer backing stores.

My x86_64 usualconfig just exploded with

fs/romfs/storage.c:18:2: error: #error no ROMFS backing store interface configured

http://userweb.kernel.org/~akpm/config-akpm2.txt
--
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/