mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
csky: use generic ioremap
Use the generic ioremap_prot and iounmap helpers. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Guo Ren <guoren@kernel.org>
This commit is contained in:
@@ -86,6 +86,10 @@
|
||||
#define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
|
||||
_CACHE_CACHED)
|
||||
|
||||
#define _PAGE_IOREMAP \
|
||||
(_PAGE_PRESENT | __READABLE | __WRITEABLE | _PAGE_GLOBAL | \
|
||||
_CACHE_UNCACHED | _PAGE_SO)
|
||||
|
||||
#define __P000 PAGE_NONE
|
||||
#define __P001 PAGE_READONLY
|
||||
#define __P010 PAGE_COPY
|
||||
|
||||
Reference in New Issue
Block a user