public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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
Date: Mon, 13 Jul 2015 10:13:56 +0800	[thread overview]
Message-ID: <20150713022634.220792954@redhat.com> (raw)
In-Reply-To: 20150713021353.282890552@redhat.com

[-- Attachment #1: 0003-kexec-x86-kdebug-h-drop-useless-macro.patch --]
[-- Type: text/plain, Size: 761 bytes --]

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 <dyoung@redhat.com>
---
 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




  parent reply	other threads:[~2015-07-13  2:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-13  2:13 [PATCH 0/3] kexec: refactor CONFIG_KEXEC/CONFIG_KEXEC_FILE Kconfig dyoung
2015-07-13  2:13 ` [PATCH 1/3] [PATCH 1/3] kexec: split kexec_file syscall code to kexec_file.c dyoung
2015-07-13  2:13 ` [PATCH 2/3] [PATCH 2/3] kexec: split kexec_load syscall from kexec core code dyoung
2015-07-13  8:55   ` Geert Uytterhoeven
2015-07-14  8:46     ` Dave Young
2015-07-14  8:50       ` Geert Uytterhoeven
2015-07-14  9:11         ` Dave Young
2015-07-14  9:16           ` Geert Uytterhoeven
2015-07-14  9:24             ` Dave Young
2015-07-14  9:47               ` Geert Uytterhoeven
2015-07-15  1:30                 ` Dave Young
2015-07-13  2:13 ` dyoung [this message]
2015-07-15  9:16 ` [PATCH 0/3] kexec: refactor CONFIG_KEXEC/CONFIG_KEXEC_FILE Kconfig Dave Young
2015-07-15  9:36   ` Dave Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150713022634.220792954@redhat.com \
    --to=dyoung@redhat.com \
    --cc=dhowells@redhat.com \
    --cc=ebiederm@xmission.com \
    --cc=jwboyer@fedoraproject.org \
    --cc=kexec@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ptesarik@suse.cz \
    --cc=tytso@mit.edu \
    --cc=vgoyal@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox