d1b6f8c7af
* Thu Apr 23 2020 CKI@GitLab <cki-project@redhat.com> [5.7.0-0.rc2.20200423git7adc4b399952.1] - 7adc4b399952 rebase - Match template format in kernel.spec.template ("Justin M. Forbes") - Break out the Patches into individual files for dist-git ("Justin M. Forbes") - Break the Red Hat patch into individual commits (Jeremy Cline) - Adjust module filtering so CONFIG_DRM_DP_CEC can be set (Jeremy Cline) - Add a script to generate release tags and branches (Jeremy Cline) - Set CONFIG_VDPA for fedora ("Justin M. Forbes") - Provide defaults in ark-rebase-patches.sh (Jeremy Cline) - Default ark-rebase-patches.sh to not report issues (Jeremy Cline) Resolves: rhbz# Signed-off-by: Jeremy Cline <jcline@redhat.com>
33 lines
957 B
Diff
33 lines
957 B
Diff
From bea79e0eef96456b406a1cc6eb7fed8ca6aca234 Mon Sep 17 00:00:00 2001
|
|
From: Dmitry Safonov <dima@arista.com>
|
|
Date: Wed, 1 Apr 2020 15:39:04 +0100
|
|
Subject: [PATCH] tty/sysrq: Export sysrq_mask()
|
|
|
|
Build fix for serial_core being module:
|
|
ERROR: modpost: "sysrq_mask" [drivers/tty/serial/serial_core.ko] undefined!
|
|
|
|
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
|
|
Reported-by: "kernelci.org bot" <bot@kernelci.org>
|
|
Signed-off-by: Dmitry Safonov <dima@arista.com>
|
|
Cc: Jiri Slaby <jslaby@suse.com>
|
|
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
---
|
|
drivers/tty/sysrq.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
|
|
index 5e0d0813da55..a0760bcd7a97 100644
|
|
--- a/drivers/tty/sysrq.c
|
|
+++ b/drivers/tty/sysrq.c
|
|
@@ -74,6 +74,7 @@ int sysrq_mask(void)
|
|
return 1;
|
|
return sysrq_enabled;
|
|
}
|
|
+EXPORT_SYMBOL_GPL(sysrq_mask);
|
|
|
|
/*
|
|
* A value of 1 means 'all', other nonzero values are an op mask:
|
|
--
|
|
2.26.0
|
|
|