Re: [PATCH-RFC 02/10] lib: add GENERIC_PCI_IOMAP

2011-11-27 Thread Michael S. Tsirkin
On Fri, Nov 25, 2011 at 11:54:55AM +1100, Stephen Rothwell wrote: > Hi Michael, > > On Thu, 24 Nov 2011 22:17:02 +0200 "Michael S. Tsirkin" > wrote: > > > > diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h > > index 9120887..c8a67345 100644 > > --- a/include/asm-generic/io.h > >

Re: [PATCH-RFC 02/10] lib: add GENERIC_PCI_IOMAP

2011-11-24 Thread Stephen Rothwell
Hi Michael, On Fri, 25 Nov 2011 11:54:55 +1100 Stephen Rothwell wrote: > > Just wondering why you move pci_iomap but not pic_iounmap. I figured this out. Arches have their own. -- Cheers, Stephen Rothwells...@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ pgpeYVeEJS

Re: [PATCH-RFC 02/10] lib: add GENERIC_PCI_IOMAP

2011-11-24 Thread Stephen Rothwell
Hi Michael, On Thu, 24 Nov 2011 22:17:02 +0200 "Michael S. Tsirkin" wrote: > > diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h > index 9120887..c8a67345 100644 > --- a/include/asm-generic/io.h > +++ b/include/asm-generic/io.h > @@ -19,6 +19,8 @@ > #include > #endif > > +#inc

Re: [PATCH-RFC 02/10] lib: add GENERIC_PCI_IOMAP

2011-11-24 Thread Arnd Bergmann
On Thursday 24 November 2011 22:17:02 Michael S. Tsirkin wrote: > Many architectures want a generic pci_iomap but > not the rest of iomap.c. Split that to a separate .c > file and add a new config symbol. select automatically > by GENERIC_IOMAP. > > Signed-off-by: Michael S. Tsirkin Very nice!

[PATCH-RFC 02/10] lib: add GENERIC_PCI_IOMAP

2011-11-24 Thread Michael S. Tsirkin
Many architectures want a generic pci_iomap but not the rest of iomap.c. Split that to a separate .c file and add a new config symbol. select automatically by GENERIC_IOMAP. Signed-off-by: Michael S. Tsirkin --- include/asm-generic/io.h|5 +-- include/asm-generic/iomap.h |7 +