aboutsummaryrefslogtreecommitdiffstats
path: root/kernels/marlin/do.bash
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-10-14 22:42:47 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-10-14 22:44:33 +0200
commit754728ab4f1008f554a393055c16f3dade93fb4e (patch)
tree067cab866e38d19fe4a2da19e527245b3a977396 /kernels/marlin/do.bash
parentkernels: add wahoo (diff)
downloadandroid-wireguard-module-builder-754728ab4f1008f554a393055c16f3dade93fb4e.tar.xz
android-wireguard-module-builder-754728ab4f1008f554a393055c16f3dade93fb4e.zip
kernels: marlin: hack around unexported tvec_base_deferrable
Qualcomm made wild changes to the timers in 50f9e740, but in the process they forgot to EXPORT_SYMBOL(tvec_base_deferrable). So, we claw it back the ugly way.
Diffstat (limited to 'kernels/marlin/do.bash')
-rw-r--r--kernels/marlin/do.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernels/marlin/do.bash b/kernels/marlin/do.bash
new file mode 100644
index 0000000..b568033
--- /dev/null
+++ b/kernels/marlin/do.bash
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -ex
+BASE="$(readlink -f "$(dirname "$(readlink -f "$0")")")"
+patch -d WireGuard -p1 < "$BASE/tvec_base_deferrable-hack.patch"