Re: [PATCH 1/3] rename alloc_pages_exact()

From: Dave Hansen
Date: Tue Apr 12 2011 - 13:11:56 EST


On Wed, 2011-04-13 at 02:07 +0900, Namhyung Kim wrote:
> > if (get_order(size) < MAX_ORDER) {
> > - table = alloc_pages_exact(size, GFP_ATOMIC);
> > + table = get_free_pages_exact(size, GFP_ATOMIC);
>
> This should be table = get_free_pages_exact(GFP_ATOMIC, size);

It's clear that I'm retarded and need to learn how to use sparse. :)

Thanks!

-- Dave

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