Messages in this thread | | | Date | Tue, 29 Jul 2008 18:58:08 +0900 | Subject | Re: [PATCH] add iommu_num_pages helper function | From | FUJITA Tomonori <> |
| |
On Tue, 29 Jul 2008 11:50:27 +0200 Joerg Roedel <joerg.roedel@amd.com> wrote:
> On Tue, Jul 29, 2008 at 04:45:23PM +1000, Stephen Rothwell wrote: > > Hi Dave, > > > > On Mon, 28 Jul 2008 22:24:39 -0700 (PDT) David Miller <davem@davemloft.net> wrote: > > > > > > sparc64: Fix build after addition of iommu_num_pages() helper. > > > > I added this to the end of linux-next for today. Hopefully we will have > > a fix in Linus' tree tomorrow. > > Yes, my fault, sorry for that breakage :-/ > I think moving that function to x86-only code is the best solution for > now. Before moving it back to generic code we need an architecture > independent way to find out the IOMMU page size.
Agreed, it fixes both SPARC and POWER breakages.
> FUJITA, > > do you want to work on that or should I try to do this and send it to > you for review?
I've already sent a patch that fixes the breakages in such way:
http://marc.info/?l=linux-kernel&m=121730644704448&w=2
| |