summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-23 20:49:47 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-23 20:49:47 +0200
commit01af213ee5720c929973534da555f89abaf301f5 (patch)
treeec643a6706dbd897cda01502ca9334e5cb8c7e90 /target/linux
parent3b535417ea9a232a2e536a637e2fbf2440163d60 (diff)
linux: realtime patch breaks sparc v8, so change it to a conditional patch again
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.kernel5
-rw-r--r--target/linux/patches/4.1.26/patch-realtime (renamed from target/linux/patches/4.1.26/realtime.patch)0
-rw-r--r--target/linux/patches/4.4.13/patch-realtime (renamed from target/linux/patches/4.4.13/realtime.patch)0
3 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index c33fc2473..2485300e8 100644
--- a/target/linux/config/Config.in.kernel
+++ b/target/linux/config/Config.in.kernel
@@ -111,6 +111,9 @@ config ADK_KERNEL_KERNEL_MODE_NEON
bool
default y if ADK_TARGET_ARCH_ARM_WITH_NEON
+config ADK_KERNEL_PATCH_REALTIME
+ bool
+
choice
prompt "preemptive mode"
@@ -134,6 +137,7 @@ config ADK_KERNEL_PREEMPT__LL
config ADK_KERNEL_PREEMPT_RTB
bool "Preemptible Kernel (Basic RealTime)"
select ADK_KERNEL_HIGH_RES_TIMERS
+ select ADK_KERNEL_PATCH_REALTIME
depends on ADK_TARGET_KERNEL_VERSION_4_1 \
|| ADK_TARGET_KERNEL_VERSION_4_4
help
@@ -142,6 +146,7 @@ config ADK_KERNEL_PREEMPT_RTB
config ADK_KERNEL_PREEMPT_RT_FULL
bool "Fully Preemptible Kernel (RealTime)"
select ADK_KERNEL_HIGH_RES_TIMERS
+ select ADK_KERNEL_PATCH_REALTIME
depends on ADK_TARGET_KERNEL_VERSION_4_1 \
|| ADK_TARGET_KERNEL_VERSION_4_4
help
diff --git a/target/linux/patches/4.1.26/realtime.patch b/target/linux/patches/4.1.26/patch-realtime
index 6ecf019b9..6ecf019b9 100644
--- a/target/linux/patches/4.1.26/realtime.patch
+++ b/target/linux/patches/4.1.26/patch-realtime
diff --git a/target/linux/patches/4.4.13/realtime.patch b/target/linux/patches/4.4.13/patch-realtime
index c677e4098..c677e4098 100644
--- a/target/linux/patches/4.4.13/realtime.patch
+++ b/target/linux/patches/4.4.13/patch-realtime