diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-04-18 06:29:23 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-04-21 17:39:31 +0100 |
commit | b9184a07a902ddea8258e5825397b0b43f138ab6 (patch) | |
tree | 124dd031367372c252b33c94d5f01a17013f3114 /target/linux/patches/4.4.128/versatile-nommu.patch | |
parent | 5af48dfb5855e2e54d9c4dd1973ac8096c85c74b (diff) |
linux: bump kernel versions
Diffstat (limited to 'target/linux/patches/4.4.128/versatile-nommu.patch')
-rw-r--r-- | target/linux/patches/4.4.128/versatile-nommu.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/patches/4.4.128/versatile-nommu.patch b/target/linux/patches/4.4.128/versatile-nommu.patch new file mode 100644 index 000000000..96140b30c --- /dev/null +++ b/target/linux/patches/4.4.128/versatile-nommu.patch @@ -0,0 +1,16 @@ +diff -Nur linux-4.4.17.orig/arch/arm/mach-versatile/include/mach/hardware.h linux-4.4.17/arch/arm/mach-versatile/include/mach/hardware.h +--- linux-4.4.17.orig/arch/arm/mach-versatile/include/mach/hardware.h 2016-08-10 11:49:43.000000000 +0200 ++++ linux-4.4.17/arch/arm/mach-versatile/include/mach/hardware.h 2016-08-25 23:19:03.691716292 +0200 +@@ -30,8 +30,12 @@ + #define VERSATILE_PCI_VIRT_BASE (void __iomem *)0xe8000000ul + #define VERSATILE_PCI_CFG_VIRT_BASE (void __iomem *)0xe9000000ul + ++#ifdef CONFIG_MMU + /* macro to get at MMIO space when running virtually */ + #define IO_ADDRESS(x) (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000) ++#else ++#define IO_ADDRESS(x) (x) ++#endif + + #define __io_address(n) ((void __iomem __force *)IO_ADDRESS(n)) + |