Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751951AbbGMCa2 (ORCPT ); Sun, 12 Jul 2015 22:30:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54315 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751737AbbGMCaX (ORCPT ); Sun, 12 Jul 2015 22:30:23 -0400 Message-Id: <20150713022634.220792954@redhat.com> User-Agent: quilt/0.60-1 Date: Mon, 13 Jul 2015 10:13:56 +0800 From: dyoung@redhat.com To: linux-kernel@vger.kernel.org, kexec@lists.infradead.org Cc: dyoung@redhat.com, ebiederm@xmission.com, vgoyal@redhat.com, ptesarik@suse.cz, tytso@mit.edu, jwboyer@fedoraproject.org, dhowells@redhat.com Subject: [PATCH 3/3] [PATCH 3/3] kexec-x86-kdebug-h-drop-useless-macro References: <20150713021353.282890552@redhat.com> Content-Disposition: inline; filename=0003-kexec-x86-kdebug-h-drop-useless-macro.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1006 Lines: 32 in_crash_kexec is only useful for kdump, it will not be used without CONFIG_KEXEC_CORE, thus remove the #else section Signed-off-by: Dave Young --- arch/x86/include/asm/kdebug.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/kdebug.h b/arch/x86/include/asm/kdebug.h index b130d59..ad83f6d 100644 --- a/arch/x86/include/asm/kdebug.h +++ b/arch/x86/include/asm/kdebug.h @@ -31,9 +31,6 @@ extern unsigned long oops_begin(void); extern void oops_end(unsigned long, struct pt_regs *, int signr); #ifdef CONFIG_KEXEC_CORE extern int in_crash_kexec; -#else -/* no crash dump is ever in progress if no crash kernel can be kexec'd */ -#define in_crash_kexec 0 #endif #endif /* _ASM_X86_KDEBUG_H */ -- 1.8.3.1 -- 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/