forked from Minki/linux
sparc: Fixes the DRM layer build on sparc.
By providing an ioremap_wc(). Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6662327e19
commit
428695b898
@ -244,6 +244,7 @@ _memcpy_toio(volatile void __iomem *dst, const void *src, __kernel_size_t n)
|
||||
*/
|
||||
extern void __iomem *ioremap(unsigned long offset, unsigned long size);
|
||||
#define ioremap_nocache(X,Y) ioremap((X),(Y))
|
||||
#define ioremap_wc(X,Y) ioremap((X),(Y))
|
||||
extern void iounmap(volatile void __iomem *addr);
|
||||
|
||||
#define ioread8(X) readb(X)
|
||||
|
@ -460,6 +460,7 @@ static inline void __iomem *ioremap(unsigned long offset, unsigned long size)
|
||||
}
|
||||
|
||||
#define ioremap_nocache(X,Y) ioremap((X),(Y))
|
||||
#define ioremap_wc(X,Y) ioremap((X),(Y))
|
||||
|
||||
static inline void iounmap(volatile void __iomem *addr)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user