From patchwork Wed Jan 12 09:10:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Weber X-Patchwork-Id: 473531 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0C9DoRD014256 for ; Wed, 12 Jan 2011 09:13:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755840Ab1ALJNZ (ORCPT ); Wed, 12 Jan 2011 04:13:25 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:62807 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750832Ab1ALJNY (ORCPT ); Wed, 12 Jan 2011 04:13:24 -0500 Received: from corscience.de (DSL01.212.114.252.242.ip-pool.NEFkom.net [212.114.252.242]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Ld1ZU-1Q3RoT3QLw-00iBvc; Wed, 12 Jan 2011 10:13:18 +0100 Received: from localhost.CS.local (unknown [192.168.102.87]) by corscience.de (Postfix) with ESMTP id 12BEF52122; Wed, 12 Jan 2011 10:13:17 +0100 (CET) From: Thomas Weber To: Tony Lindgren Cc: Thomas Weber , linux-omap@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: [PATCH] OMAP: Enable Sysrq on serial console Date: Wed, 12 Jan 2011 10:10:32 +0100 Message-Id: <1294823432-3969-1-git-send-email-weber@corscience.de> X-Mailer: git-send-email 1.7.4.rc1 X-Provags-ID: V02:K0:+kd+GAnIURUjshN/4D6Ps8pInd5MVYmv2GyljLtPNba vRqEwMGKR0MTF1a9QyGRqiKNjt+skpuxRrFR6fdBsbBO1MnKyo vmsRGmb2Kh7gjZRMCny/2ZgtaZFDGrs5fUIm3H/GsNyPAzEdMO 9nspkhS3Qk1OoC8Jcc9gIhBIJH0D/TeSn6X8ETsqTA4WrtTTrB XpOxvN0F+aVRn4ngsV8vQ== Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 12 Jan 2011 09:13:58 +0000 (UTC) diff --git a/drivers/serial/omap-serial.c b/drivers/serial/omap-serial.c index 1201eff..907be9b 100644 --- a/drivers/serial/omap-serial.c +++ b/drivers/serial/omap-serial.c @@ -20,6 +20,10 @@ * this driver as required for the omap-platform. */ +#if defined(CONFIG_SERIAL_OMAP_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) +#define SUPPORT_SYSRQ +#endif + #include #include #include