From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Whitcroft Subject: [PATCH 0/1] sysrq is half-enabled by default V2 Date: Mon, 24 Jan 2011 14:06:11 +0000 Message-ID: <1295877972-363-1-git-send-email-apw@canonical.com> Return-path: Received: from adelie.canonical.com ([91.189.90.139]:39042 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751346Ab1AXOGS (ORCPT ); Mon, 24 Jan 2011 09:06:18 -0500 Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: Andy Whitcroft , linux-input@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann , Andrew Morton , linux-kernel@vger.kernel.org It seems that recent cleanups to sysrq handling have lead to us having two copies of the sysrq enable status. At boot these are currently inconsistently specified leading to sysrq actually being enabled but reported as not enabled in sysfs. Following this email is a patch to link both of these copies to a common header define to prevent them becoming out of sync again. -apw Andy Whitcroft (1): Input: sysrq -- ensure sysrq_enabled and __sysrq_enabled are consistent drivers/tty/sysrq.c | 2 +- include/linux/sysrq.h | 3 +++ kernel/sysctl.c | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-)