[PATCH v4] mtdchar: fix mmap() for MTD RAM/ROM char devices

Mike Frysinger vapier.adi at gmail.com
Tue Jun 15 12:55:54 EDT 2010


On Tue, Jun 15, 2010 at 03:30, Anatolij Gustschin wrote:
> For no-mmu systems mmap() on RAM/ROM devices already works
> but for systems with mmu it probably was not tested and
> doesn't work.
>
> This patch allows using mmap() on MTD RAM/ROM devices on systems
> with MMU. It has been tested on mpc5121e based platform with
> MR0A16A MRAM device attached over LocalBus.

i dont really have a way of testing the MMU path, but this looks sane.
Acked-by: Mike Frysinger <vapier at gentoo.org>
-mike



More information about the linux-mtd mailing list