From patchwork Wed Jan 19 08:41:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Weber X-Patchwork-Id: 488611 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 p0J8fhI3010511 for ; Wed, 19 Jan 2011 08:41:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753675Ab1ASIlX (ORCPT ); Wed, 19 Jan 2011 03:41:23 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:62713 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753191Ab1ASIlX (ORCPT ); Wed, 19 Jan 2011 03:41:23 -0500 Received: from corscience.de (DSL01.212.114.252.242.ip-pool.NEFkom.net [212.114.252.242]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LzYuY-1QIR442aA6-014FUg; Wed, 19 Jan 2011 09:41:14 +0100 Received: from Lupus.CS.local (unknown [192.168.102.87]) by corscience.de (Postfix) with ESMTP id 20CF752139; Wed, 19 Jan 2011 09:41:14 +0100 (CET) From: Thomas Weber To: linux-omap@vger.kernel.org Cc: Thomas Weber , Tony Lindgren , "Govindraj.R" , Greg Kroah-Hartman , Andrei Emeltchenko , linux-kernel@vger.kernel.org Subject: [PATCHv2] OMAP: Enable Magic SysRq on serial console ttyOx Date: Wed, 19 Jan 2011 09:41:01 +0100 Message-Id: <1295426461-12459-1-git-send-email-weber@corscience.de> X-Mailer: git-send-email 1.7.4.rc2 X-Provags-ID: V02:K0:wuKfrrLDyg0triebSfDb7AKOqO4BCN34+cSvz7RFs/J C+7Tt5WaeaaA7tDJnkpXb3y5wW0c6axwn9LYajrnLRpTfzzujt Pd0m5sNAbJmbpni6Dy/4Ecf/3jTy1GXPagJAlCzGPWFuDCa9nd v9FLdfMsG1pUnNeJoJX9WZgh32uiqQj0dTkvRgms0bAM14Zu7p /THCm6WuJR9L654s2tmpg== 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, 19 Jan 2011 08:41:44 +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