From: Adrian Bunk <bunk@stusta.de>
To: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Christoph Hellwig <hch@lst.de>,
linux-kernel@vger.kernel.org
Subject: [-mm patch] no longer #include <asm/kdebug.h>
Date: Wed, 28 Mar 2007 14:11:36 +0200 [thread overview]
Message-ID: <20070328121136.GP16477@stusta.de> (raw)
In-Reply-To: <20070327171150.GA24349@Krystal>
On Tue, Mar 27, 2007 at 01:11:50PM -0400, Mathieu Desnoyers wrote:
> Hi Adrian,
>
> Since kdebug.h seems to have moved from asm/ to linux/ in Andrew's tree, I
> guess the #include <asm/kdebug.h> should be removed ? linux/kdebug.h
> already includes asm/kdebug.h.
Agreed, additional patch to remove all #include <asm/kdebug.h>'s is
below.
> Mathieu
cu
Adrian
<-- snip -->
Include the new linux/kdebug.h instead of asm/kdebug.h.
Simply remove the asm/kdebug.h include if both had been included.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
arch/i386/kernel/marker.c | 1 -
arch/s390/kernel/dis.c | 2 +-
drivers/char/ipmi/ipmi_watchdog.c | 1 -
3 files changed, 1 insertion(+), 3 deletions(-)
--- linux-2.6.21-rc5-mm2/arch/i386/kernel/marker.c.old 2007-03-27 23:27:56.000000000 +0200
+++ linux-2.6.21-rc5-mm2/arch/i386/kernel/marker.c 2007-03-27 23:28:04.000000000 +0200
@@ -18,7 +18,6 @@
#include <linux/marker.h>
#include <linux/kdebug.h>
#include <asm/cacheflush.h>
-#include <asm/kdebug.h>
#define BREAKPOINT_INSTRUCTION 0xcc
#define BREAKPOINT_INS_LEN 1
--- linux-2.6.21-rc5-mm2/arch/s390/kernel/dis.c.old 2007-03-27 23:28:12.000000000 +0200
+++ linux-2.6.21-rc5-mm2/arch/s390/kernel/dis.c 2007-03-27 23:28:25.000000000 +0200
@@ -23,6 +23,7 @@
#include <linux/kallsyms.h>
#include <linux/reboot.h>
#include <linux/kprobes.h>
+#include <linux/kdebug.h>
#include <asm/system.h>
#include <asm/uaccess.h>
@@ -33,7 +34,6 @@
#include <asm/s390_ext.h>
#include <asm/lowcore.h>
#include <asm/debug.h>
-#include <asm/kdebug.h>
#ifndef CONFIG_64BIT
#define ONELONG "%08lx: "
--- linux-2.6.21-rc5-mm2/drivers/char/ipmi/ipmi_watchdog.c.old 2007-03-27 23:28:34.000000000 +0200
+++ linux-2.6.21-rc5-mm2/drivers/char/ipmi/ipmi_watchdog.c 2007-03-27 23:28:56.000000000 +0200
@@ -61,7 +61,6 @@
how it will work. So in the unlikely event that another
architecture supports this, we can figure out a good generic
mechanism for it at that time. */
-#include <asm/kdebug.h>
#define HAVE_DIE_NMI_POST
#endif
next prev parent reply other threads:[~2007-03-28 12:11 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 4:57 2.6.21-rc5-mm1 Andrew Morton
2007-03-27 6:20 ` 2.6.21-rc5-mm1 David Miller
2007-03-27 11:15 ` 2.6.21-rc5-mm1 Bartlomiej Zolnierkiewicz
2007-03-27 16:52 ` [-mm patch] fix arch/i386/kernel/marker.c compilation Adrian Bunk
2007-03-27 17:11 ` Mathieu Desnoyers
2007-03-27 17:29 ` Christoph Hellwig
2007-03-28 12:11 ` Adrian Bunk [this message]
2007-03-27 17:39 ` 2.6.21-rc5-mm1 Badari Pulavarty
2007-03-27 16:48 ` 2.6.21-rc5-mm1 Andrew Morton
2007-03-27 17:57 ` 2.6.21-rc5-mm1 Badari Pulavarty
2007-03-27 20:12 ` 2.6.21-rc5-mm1 Andrew Morton
2007-03-27 20:30 ` 2.6.21-rc5-mm1 Eric Dumazet
2007-03-27 21:29 ` 2.6.21-rc5-mm1 Eric Dumazet
2007-03-27 21:40 ` 2.6.21-rc5-mm1 Andrew Morton
2007-03-27 23:29 ` 2.6.21-rc5-mm1 Badari Pulavarty
2007-03-27 22:15 ` 2.6.21-rc5-mm1 Badari Pulavarty
2007-03-27 17:54 ` 2.6.21-rc5-mm1 Badari Pulavarty
2007-03-27 20:28 ` 2.6.21-rc5-mm1 Andrew Morton
2007-03-27 21:23 ` 2.6.21-rc5-mm1 Sam Ravnborg
2007-03-27 21:26 ` 2.6.21-rc5-mm1: i386/x86_64 register_die_notifier() change Adrian Bunk
2007-03-27 21:29 ` [discuss] " Andi Kleen
2007-03-28 12:11 ` [-mm patch] drivers/mtd/ubi/: make code static Adrian Bunk
2007-03-28 12:58 ` Artem Bityutskiy
2007-03-28 16:44 ` 2.6.21-rc5-mm1 Mariusz Kozłowski
2007-03-28 19:59 ` 2.6.21-rc5-mm1 Mariusz Kozłowski
2007-03-28 20:02 ` 2.6.21-rc5-mm1 Andrew Morton
2007-03-28 20:25 ` 2.6.21-rc5-mm1 Adrian Bunk
2007-03-28 20:49 ` 2.6.21-rc5-mm1 Mariusz Kozłowski
2007-03-29 18:01 ` 2.6.21-rc5-mm1 Mariusz Kozłowski
2007-03-29 17:52 ` 2.6.21-rc5-mm1 Andrew Morton
2007-03-29 18:45 ` 2.6.21-rc5-mm1 Mariusz Kozłowski
2007-03-29 18:38 ` 2.6.21-rc5-mm1 Ingo Molnar
2007-03-29 19:02 ` 2.6.21-rc5-mm1 Mariusz Kozłowski
2007-03-29 19:40 ` 2.6.21-rc5-mm1 Matt Mackall
2007-03-29 18:21 ` 2.6.21-rc5-mm1 Matt Mackall
2007-03-29 18:55 ` 2.6.21-rc5-mm1 Mariusz Kozłowski
2007-03-29 19:46 ` 2.6.21-rc5-mm1 Matt Mackall
2007-03-28 20:31 ` 2.6.21-rc5-mm1 john stultz
2007-03-31 6:28 ` 2.6.21-rc5-mm1 Mariusz Kozłowski
[not found] ` <48f7fe350703291332q5f2da2dar7c52afd34f79072a@mail.gmail.com>
2007-03-29 21:33 ` 2.6.21-rc5-mm1 Andrew Morton
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=20070328121136.GP16477@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@linux-foundation.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@polymtl.ca \
/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