Re: [PATCH 2/8] Add container pointer on struct page

From: Andrew Morton
Date: Wed May 30 2007 - 17:46:36 EST


On Wed, 30 May 2007 19:28:04 +0400
Pavel Emelianov <xemul@xxxxxxxxxx> wrote:

> +#ifdef CONFIG_RSS_CONTAINER
> +#define page_container(page) (page->rss_container)
> +#else
> +#define page_container(page) (NULL)
> +#endif

static inline C functions are nicer.
-
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/