summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch')
-rw-r--r--debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch b/debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch
new file mode 100644
index 000000000..75dd3f847
--- /dev/null
+++ b/debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch
@@ -0,0 +1,29 @@
+From fb0a390ea78c69d7d649e3cca6252b3f18659432 Mon Sep 17 00:00:00 2001
+From: Thomas Gleixner <tglx@linutronix.de>
+Date: Mon, 18 Jul 2011 17:08:34 +0200
+Subject: [PATCH 050/347] powerpc: Disable highmem on RT
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.246-rt110.tar.xz
+
+The current highmem handling on -RT is not compatible and needs fixups.
+
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+---
+ arch/powerpc/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
+index d6aae022d8c3..f4517f4be192 100644
+--- a/arch/powerpc/Kconfig
++++ b/arch/powerpc/Kconfig
+@@ -400,7 +400,7 @@ menu "Kernel options"
+
+ config HIGHMEM
+ bool "High memory support"
+- depends on PPC32
++ depends on PPC32 && !PREEMPT_RT_FULL
+
+ source kernel/Kconfig.hz
+
+--
+2.36.1
+