Skip to contentSkip to conversation

m68k: flat one memory region works with small kernel patch

PATCH New Waldemar Brodkorb 2 participants 2 messages Aug 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 m68k: flat one memory region works with small kernel patch

Greg Ungerer fixed recently a bug in the Linux kernel, which allows to use one memory region again.

---
v1 -> v2:
- fix stupid logic error, spotted by Baruch

---
 arch/Config.in                                     |  1 -
 .../patches/linux/m68knommu-fix-signal.patch       | 45 ++++++++++++++++++++++
 configs/qemu_m68k_mcf5208_defconfig                |  2 +
 3 files changed, 47 insertions(+), 1 deletion(-)
 create mode 100644 board/qemu/m68k-mcf5208/patches/linux/m68knommu-fix-signal.patch
arch/Config.in +0 -1
index b980e05..8000dca 100644
@@ -331,7 +331,6 @@ choice
 
 config BR2_BINFMT_FLAT_ONE
 	bool "One memory region"
-	depends on !BR2_m68k
 	help
 	  All segments are linked into one memory region.
 
board/qemu/m68k-mcf5208/patches/linux/m68knommu-fix-signal.patch new file +45 -0

45 lines not on this page · raw message

configs/qemu_m68k_mcf5208_defconfig +2 -0
index f911467..659ae3d 100644
@@ -9,6 +9,8 @@ BR2_SYSTEM_DHCP="eth0"
 BR2_TARGET_ROOTFS_INITRAMFS=y
 # BR2_TARGET_ROOTFS_TAR is not set
 
+BR2_GLOBAL_PATCH_DIR="board/qemu/m68k-mcf5208/patches"
+
 # Linux headers same as kernel, a 4.7 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y
 
Signature · 1 line
2.1.4
#1 lore raw

PATCH v2 1/1 m68k: flat one memory region works with small kernel patch

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Waldemar" == Waldemar Brodkorb <[email protected]> writes:

Greg Ungerer fixed recently a bug in the Linux kernel, which allows to use one memory region again.

---
v1 -> v2:
- fix stupid logic error, spotted by Baruch

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard