mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
microblaze: Provide pgprot_device/writecombine macros for nommu
These macros are required for generic mmap.c implementation created by:
commit f719582435 ("PCI: Add pci_mmap_resource_range() and use it for
ARM64") which Microblaze is going to use.
Reported-by: kbuild test robot <[email protected]>
Suggested-by: David Woodhouse <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
This commit is contained in:
parent
c698ca5278
commit
97ccedd793
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ extern int mem_init_done;
|
|||
#define PAGE_KERNEL __pgprot(0) /* these mean nothing to non MMU */
|
||||
|
||||
#define pgprot_noncached(x) (x)
|
||||
#define pgprot_writecombine pgprot_noncached
|
||||
#define pgprot_device pgprot_noncached
|
||||
|
||||
#define __swp_type(x) (0)
|
||||
#define __swp_offset(x) (0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue