diff options
Diffstat (limited to 'debian/patches/debian/sysrq-mask.patch')
-rw-r--r-- | debian/patches/debian/sysrq-mask.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/debian/patches/debian/sysrq-mask.patch b/debian/patches/debian/sysrq-mask.patch index fc5e3bd48..234caa75c 100644 --- a/debian/patches/debian/sysrq-mask.patch +++ b/debian/patches/debian/sysrq-mask.patch @@ -1,14 +1,14 @@ ---- a/drivers/tty/sysrq.c -+++ b/drivers/tty/sysrq.c -@@ -43,7 +43,7 @@ - #include <asm/irq_regs.h> +--- a/include/linux/sysrq.h ++++ b/include/linux/sysrq.h +@@ -18,7 +18,7 @@ + #include <linux/types.h> - /* Whether we react on sysrq keys or just ignore them */ --static int __read_mostly sysrq_enabled = 1; -+static int __read_mostly sysrq_enabled = CONFIG_MAGIC_SYSRQ_DEFAULT_MASK; - static bool __read_mostly sysrq_always_enabled; + /* Enable/disable SYSRQ support by default (0==no, 1==yes). */ +-#define SYSRQ_DEFAULT_ENABLE 1 ++#define SYSRQ_DEFAULT_ENABLE CONFIG_MAGIC_SYSRQ_DEFAULT_MASK - static bool sysrq_on(void) + /* Possible values of bitmask for enabling sysrq functions */ + /* 0x0001 is reserved for enable everything */ diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 234ceb1..415a834 100644 --- a/lib/Kconfig.debug |