[PATCH v7 7/7] [NOT TO BE MERGED] Export sysrq_mask

Christophe Leroy christophe.leroy at c-s.fr
Tue Apr 21 02:56:34 AEST 2020


Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
---
 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.25.0



More information about the Linuxppc-dev mailing list