public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* [PATCH] m68k: remove unused asm/dbg.h
@ 2012-10-29  5:16 gerg
  2012-11-11  9:41 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: gerg @ 2012-10-29  5:16 UTC (permalink / raw)
  To: linux-m68k, uclinux-dev; +Cc: Greg Ungerer

From: Greg Ungerer <gerg@uclinux.org>

The contents of the m68k asm/dbg.h are never used, remove the file and
remove the one reference to it.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---
 arch/m68k/include/asm/dbg.h      |    6 ------
 drivers/tty/serial/68328serial.c |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)
 delete mode 100644 arch/m68k/include/asm/dbg.h

diff --git a/arch/m68k/include/asm/dbg.h b/arch/m68k/include/asm/dbg.h
deleted file mode 100644
index 27af327..0000000
--- a/arch/m68k/include/asm/dbg.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#define DEBUG 1
-#ifdef CONFIG_COLDFIRE
-#define	BREAK asm volatile ("halt")
-#else
-#define BREAK *(volatile unsigned char *)0xdeadbee0 = 0
-#endif
diff --git a/drivers/tty/serial/68328serial.c b/drivers/tty/serial/68328serial.c
index 66c38a3..fa1bc91 100644
--- a/drivers/tty/serial/68328serial.c
+++ b/drivers/tty/serial/68328serial.c
@@ -14,7 +14,6 @@
  * 2.4/2.5 port                 David McCullough
  */
 
-#include <asm/dbg.h>
 #include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/serial.h>
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] m68k: remove unused asm/dbg.h
  2012-10-29  5:16 [PATCH] m68k: remove unused asm/dbg.h gerg
@ 2012-11-11  9:41 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2012-11-11  9:41 UTC (permalink / raw)
  To: gerg; +Cc: linux-m68k, uclinux-dev, Greg Ungerer

On Mon, Oct 29, 2012 at 6:16 AM,  <gerg@snapgear.com> wrote:
> From: Greg Ungerer <gerg@uclinux.org>
>
> The contents of the m68k asm/dbg.h are never used, remove the file and
> remove the one reference to it.
>
> Signed-off-by: Greg Ungerer <gerg@uclinux.org>

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>

> ---
>  arch/m68k/include/asm/dbg.h      |    6 ------
>  drivers/tty/serial/68328serial.c |    1 -
>  2 files changed, 0 insertions(+), 7 deletions(-)
>  delete mode 100644 arch/m68k/include/asm/dbg.h
>
> diff --git a/arch/m68k/include/asm/dbg.h b/arch/m68k/include/asm/dbg.h
> deleted file mode 100644
> index 27af327..0000000
> --- a/arch/m68k/include/asm/dbg.h
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -#define DEBUG 1
> -#ifdef CONFIG_COLDFIRE
> -#define        BREAK asm volatile ("halt")
> -#else
> -#define BREAK *(volatile unsigned char *)0xdeadbee0 = 0
> -#endif
> diff --git a/drivers/tty/serial/68328serial.c b/drivers/tty/serial/68328serial.c
> index 66c38a3..fa1bc91 100644
> --- a/drivers/tty/serial/68328serial.c
> +++ b/drivers/tty/serial/68328serial.c
> @@ -14,7 +14,6 @@
>   * 2.4/2.5 port                 David McCullough
>   */
>
> -#include <asm/dbg.h>
>  #include <linux/module.h>
>  #include <linux/errno.h>
>  #include <linux/serial.h>
> --

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-11  9:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29  5:16 [PATCH] m68k: remove unused asm/dbg.h gerg
2012-11-11  9:41 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox