From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751980Ab1AXOGT (ORCPT ); Mon, 24 Jan 2011 09:06:19 -0500 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 From: Andy Whitcroft To: Dmitry Torokhov Cc: Andy Whitcroft , linux-input@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann , Andrew Morton , linux-kernel@vger.kernel.org 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> X-Mailer: git-send-email 1.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: 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(-)