summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2021-01-05 10:43:17 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2021-01-05 10:43:17 -0600
commit3a91cbd61fc379fc559561ce4850e9e342dc18be (patch)
tree1b0bc7a737fc8bb0e630977d35fe4b7ebed951f1
parent5934d86345c6625560809611322e35f44f3151a4 (diff)
downloadkernel-3a91cbd61fc379fc559561ce4850e9e342dc18be.tar.gz
kernel-3a91cbd61fc379fc559561ce4850e9e342dc18be.tar.xz
kernel-3a91cbd61fc379fc559561ce4850e9e342dc18be.zip
Quick build fixup for aarch64
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
-rw-r--r--aarch64build.patch17
-rwxr-xr-xkernel.spec2
2 files changed, 19 insertions, 0 deletions
diff --git a/aarch64build.patch b/aarch64build.patch
new file mode 100644
index 000000000..a26e647ac
--- /dev/null
+++ b/aarch64build.patch
@@ -0,0 +1,17 @@
+---
+ kernel/irq/manage.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
+index ab8567f32501..dec3f73e8db9 100644
+--- a/kernel/irq/manage.c
++++ b/kernel/irq/manage.c
+@@ -2859,3 +2859,4 @@ bool irq_check_status_bit(unsigned int irq, unsigned int bitmask)
+ rcu_read_unlock();
+ return res;
+ }
++EXPORT_SYMBOL_GPL(irq_check_status_bit);
+--
+2.27.0
+
+ \ No newline at end of file
diff --git a/kernel.spec b/kernel.spec
index a129f8cc9..3e3f8348f 100755
--- a/kernel.spec
+++ b/kernel.spec
@@ -744,6 +744,7 @@ Source4000: README.rst
Patch1: patch-%{rpmversion}-redhat.patch
Patch2: secureboot_merge_fix.patch
Patch3: gcc11-plugins-fix.patch
+Patch4: aarch64build.patch
%endif
# empty final patch to facilitate testing of kernel patches
@@ -1249,6 +1250,7 @@ cp -a %{SOURCE1} .
ApplyOptionalPatch patch-%{rpmversion}-redhat.patch
ApplyOptionalPatch secureboot_merge_fix.patch
ApplyOptionalPatch gcc11-plugins-fix.patch
+ApplyOptionalPatch aarch64build.patch
%endif
ApplyOptionalPatch linux-kernel-test.patch