From e45e777c373c14b744b2940d806cf02dad84b42f Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Tue, 29 Sep 2015 17:47:18 -0700 Subject: [PATCH] kernel: Remove uneeded patch for 4.2 --- .../linux/kernel/flush_workqueue-export.patch | 13 ------------- pkgs/os-specific/linux/kernel/linux-4.2.nix | 8 -------- 2 files changed, 21 deletions(-) delete mode 100644 pkgs/os-specific/linux/kernel/flush_workqueue-export.patch diff --git a/pkgs/os-specific/linux/kernel/flush_workqueue-export.patch b/pkgs/os-specific/linux/kernel/flush_workqueue-export.patch deleted file mode 100644 index 17583e317306..000000000000 --- a/pkgs/os-specific/linux/kernel/flush_workqueue-export.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index 4c4f061..a413acb 100644 ---- a/kernel/workqueue.c -+++ b/kernel/workqueue.c -@@ -2614,7 +2614,7 @@ void flush_workqueue(struct workqueue_struct *wq) - out_unlock: - mutex_unlock(&wq->mutex); - } --EXPORT_SYMBOL_GPL(flush_workqueue); -+EXPORT_SYMBOL(flush_workqueue); - - /** - * drain_workqueue - drain a workqueue diff --git a/pkgs/os-specific/linux/kernel/linux-4.2.nix b/pkgs/os-specific/linux/kernel/linux-4.2.nix index 7584f69937d5..56914ae9cdec 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.2.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.2.nix @@ -14,12 +14,4 @@ import ./generic.nix (args // rec { features.needsCifsUtils = true; features.canDisableNetfilterConntrackHelpers = true; features.netfilterRPFilter = true; - - # cherry-pick from upstream to resolve a licensing problem that prevents - # compiling the broadcom-sta wireless driver on kernels >= 4.2 - # see: https://github.com/longsleep/bcmwl-ubuntu/issues/6 - kernelPatches = [ { - name = "flush-workqueue-export"; - patch = ./flush_workqueue-export.patch; - } ]; } // (args.argsOverride or {}))