Re: [RFC][PATCH 11/18] arch_mmap_check() on mn10300

From: Al Viro
Date: Sun Dec 06 2009 - 12:41:44 EST


On Sun, Dec 06, 2009 at 05:38:12PM +0000, David Howells wrote:
> Al Viro <viro@xxxxxxxxxxxxxxxx> wrote:
>
> > +#define arch_mmap_chech(addr, len, flags) \
> > + (((flags) & MAP_FIXED && (addr) < MIN_MAP_ADDR) ? -EINVAL : 0)
>
> I believe that should be arch_mmap_check().

D'oh. Thanks for spotting (and that, BTW, is a nice demonstration
of the reasons why "arch hooks with default" thing is bad). Fixed in
my tree, will go in the next repost.
--
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/