sh: ioremap_prot support.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -104,6 +104,8 @@ typedef struct { unsigned long pgd; } pgd_t;
|
||||
|
||||
typedef struct page *pgtable_t;
|
||||
|
||||
#define pte_pgprot(x) __pgprot(pte_val(x) & PTE_FLAGS_MASK)
|
||||
|
||||
#endif /* !__ASSEMBLY__ */
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user