diff options
Diffstat (limited to 'debian/patches-rt/workqueue-Make-alloc-apply-free_workqueue_attrs-stat.patch')
-rw-r--r-- | debian/patches-rt/workqueue-Make-alloc-apply-free_workqueue_attrs-stat.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/debian/patches-rt/workqueue-Make-alloc-apply-free_workqueue_attrs-stat.patch b/debian/patches-rt/workqueue-Make-alloc-apply-free_workqueue_attrs-stat.patch deleted file mode 100644 index 3f70da84b..000000000 --- a/debian/patches-rt/workqueue-Make-alloc-apply-free_workqueue_attrs-stat.patch +++ /dev/null @@ -1,65 +0,0 @@ -From: Thomas Gleixner <tglx@linutronix.de> -Date: Tue, 21 May 2019 16:35:12 +0200 -Subject: [PATCH] workqueue: Make alloc/apply/free_workqueue_attrs() static -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz - -None of those functions have any users outside of workqueue.c. Confine -them. - -Signed-off-by: Thomas Gleixner <tglx@linutronix.de> -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - include/linux/workqueue.h | 4 ---- - kernel/workqueue.c | 7 +++---- - 2 files changed, 3 insertions(+), 8 deletions(-) - ---- a/include/linux/workqueue.h -+++ b/include/linux/workqueue.h -@@ -435,10 +435,6 @@ struct workqueue_struct *alloc_workqueue - - extern void destroy_workqueue(struct workqueue_struct *wq); - --struct workqueue_attrs *alloc_workqueue_attrs(gfp_t gfp_mask); --void free_workqueue_attrs(struct workqueue_attrs *attrs); --int apply_workqueue_attrs(struct workqueue_struct *wq, -- const struct workqueue_attrs *attrs); - int workqueue_set_unbound_cpumask(cpumask_var_t cpumask); - - extern bool queue_work_on(int cpu, struct workqueue_struct *wq, ---- a/kernel/workqueue.c -+++ b/kernel/workqueue.c -@@ -3329,7 +3329,7 @@ EXPORT_SYMBOL_GPL(execute_in_process_con - * - * Undo alloc_workqueue_attrs(). - */ --void free_workqueue_attrs(struct workqueue_attrs *attrs) -+static void free_workqueue_attrs(struct workqueue_attrs *attrs) - { - if (attrs) { - free_cpumask_var(attrs->cpumask); -@@ -3346,7 +3346,7 @@ void free_workqueue_attrs(struct workque - * - * Return: The allocated new workqueue_attr on success. %NULL on failure. - */ --struct workqueue_attrs *alloc_workqueue_attrs(gfp_t gfp_mask) -+static struct workqueue_attrs *alloc_workqueue_attrs(gfp_t gfp_mask) - { - struct workqueue_attrs *attrs; - -@@ -4033,7 +4033,7 @@ static int apply_workqueue_attrs_locked( - * - * Return: 0 on success and -errno on failure. - */ --int apply_workqueue_attrs(struct workqueue_struct *wq, -+static int apply_workqueue_attrs(struct workqueue_struct *wq, - const struct workqueue_attrs *attrs) - { - int ret; -@@ -4044,7 +4044,6 @@ int apply_workqueue_attrs(struct workque - - return ret; - } --EXPORT_SYMBOL_GPL(apply_workqueue_attrs); - - /** - * wq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug |