Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97ccedd7 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Provide pgprot_device/writecombine macros for nommu



These macros are required for generic mmap.c implementation created by:
commit f7195824 ("PCI: Add pci_mmap_resource_range() and use it for
ARM64") which Microblaze is going to use.

Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Suggested-by: default avatarDavid Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent c698ca52
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)