summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch')
-rw-r--r--debian/patches-rt/sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/debian/patches-rt/sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch b/debian/patches-rt/sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch
deleted file mode 100644
index 2ab854011..000000000
--- a/debian/patches-rt/sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
-Date: Tue, 9 Oct 2018 17:34:50 +0200
-Subject: [PATCH] sched/migrate_disable: Add export_symbol_gpl for
- __migrate_disabled
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz
-
-Jonathan reported that lttng/modules can't use __migrate_disabled().
-This function is only used by sched/core itself and the tracing
-infrastructure to report the migrate counter (lttng does probably the
-same). Since the rework migrate_disable() it moved from sched.h to
-preempt.h and is became an exported function instead of a "static
-inline" due to the header recursion of preempt vs sched.
-
-Since the compiler inlines the function for sched/core usage, add a
-EXPORT_SYMBOL_GPL to allow the module/LTTNG usage.
-
-Reported-by: Jonathan Rajott <jonathan.rajotte-julien@efficios.com>
-Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
----
- kernel/sched/core.c | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/kernel/sched/core.c
-+++ b/kernel/sched/core.c
-@@ -1065,6 +1065,7 @@ int __migrate_disabled(struct task_struc
- {
- return p->migrate_disable;
- }
-+EXPORT_SYMBOL_GPL(__migrate_disabled);
- #endif
-
- static void __do_set_cpus_allowed_tail(struct task_struct *p,