Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751252AbZJKGNr (ORCPT ); Sun, 11 Oct 2009 02:13:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751102AbZJKGNq (ORCPT ); Sun, 11 Oct 2009 02:13:46 -0400 Received: from smtp.nokia.com ([192.100.122.230]:54444 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbZJKGNq (ORCPT ); Sun, 11 Oct 2009 02:13:46 -0400 From: Artem Bityutskiy To: Ingo Molnar Cc: Artem Bityutskiy , Andrew Morton , Aaro Koskinen , David Woodhouse , Simon Kagstrom , linux-mtd , LKML Subject: [PATCH] panic.c: export panic_on_oops Date: Sun, 11 Oct 2009 09:10:58 +0300 Message-Id: <1255241458-11665-1-git-send-email-dedekind1@gmail.com> X-Mailer: git-send-email 1.6.2.5 X-OriginalArrivalTime: 11 Oct 2009 06:11:54.0886 (UTC) FILETIME=[BB43E260:01CA4A39] X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 39 From: Artem Bityutskiy We use the mtdoops module which stores oopses on the Flash partition, in order to make it possible to analyze them later. And mtdoops needs to know whether 'panic_on_oops' is on or off. Thus, we need this variable to be exported. Signed-off-by: Artem Bityutskiy Cc: Andrew Morton Cc: Aaro Koskinen Cc: David Woodhouse Cc: Simon Kagstrom Cc: linux-mtd Cc: LKML --- kernel/panic.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/panic.c b/kernel/panic.c index bcdef26..6d29be3 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -24,6 +24,8 @@ #include int panic_on_oops; +EXPORT_SYMBOL_GPL(panic_on_oops); + static unsigned long tainted_mask; static int pause_on_oops; static int pause_on_oops_flag; -- 1.6.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/