[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090203222601.747ca8b7.akpm@linux-foundation.org>
Date: Tue, 3 Feb 2009 22:26:01 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Roland Dreier <rdreier@...co.com>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Eli Cohen <eli@...lanox.co.il>, linux-kernel@...r.kernel.org,
linuxppc-dev@...abs.org
Subject: Re: FW: [PATCH] powerpc/mm: Export HPAGE_SHIFT
On Tue, 03 Feb 2009 22:16:08 -0800 Roland Dreier <rdreier@...co.com> wrote:
> > I think it's something like
> >
> > huge_page_size(page_hstate(page))
>
> That would suit. I assume the intention is for that to be usable by
> driver modules on any architecture?
>
erm, you overestimate the amount of planning and forethought which goes
into these things ;)
The lack of any EXPORT_SYMBOL(size_to_hstate) is a broadish hint.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists