From: jeremy.kerr@canonical.com (Jeremy Kerr)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] arm/debug: consolidate addruart macros for CONFIG_DEBUG_ICEDCC
Date: Mon, 23 Aug 2010 16:50:23 +0800 [thread overview]
Message-ID: <1282553423.738368.837405521244.1.gpush@pororo> (raw)
In-Reply-To: <1282553423.737985.983362819420.0.gpush@pororo>
We have the same (empty) macro for all IDEDCC flavours, so consolidate
it to one.
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
---
arch/arm/kernel/debug.S | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/arch/arm/kernel/debug.S b/arch/arm/kernel/debug.S
index a38b487..f913952 100644
--- a/arch/arm/kernel/debug.S
+++ b/arch/arm/kernel/debug.S
@@ -22,11 +22,11 @@
#if defined(CONFIG_DEBUG_ICEDCC)
@@ debug using ARM EmbeddedICE DCC channel
-#if defined(CONFIG_CPU_V6)
-
.macro addruart, rx, tmp
.endm
+#if defined(CONFIG_CPU_V6)
+
.macro senduart, rd, rx
mcr p14, 0, \rd, c0, c5, 0
.endm
@@ -51,9 +51,6 @@
#elif defined(CONFIG_CPU_V7)
- .macro addruart, rx, tmp
- .endm
-
.macro senduart, rd, rx
mcr p14, 0, \rd, c0, c5, 0
.endm
@@ -71,9 +68,6 @@ wait: mrc p14, 0, pc, c0, c1, 0
#elif defined(CONFIG_CPU_XSCALE)
- .macro addruart, rx, tmp
- .endm
-
.macro senduart, rd, rx
mcr p14, 0, \rd, c8, c0, 0
.endm
@@ -98,9 +92,6 @@ wait: mrc p14, 0, pc, c0, c1, 0
#else
- .macro addruart, rx, tmp
- .endm
-
.macro senduart, rd, rx
mcr p14, 0, \rd, c1, c0, 0
.endm
next prev parent reply other threads:[~2010-08-23 8:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-23 8:50 [PATCH 0/3] Allow late mdesc detection, v4 Jeremy Kerr
2010-08-23 8:50 ` [PATCH 3/3] arm: use addruart macro to establish debug mappings Jeremy Kerr
2010-08-23 8:50 ` Jeremy Kerr [this message]
2010-08-23 8:50 ` [PATCH 2/3] arm: return both physical and virtual addresses from addruart Jeremy Kerr
2010-08-23 10:05 ` Uwe Kleine-König
2010-08-23 14:36 ` Jeremy Kerr
2010-08-27 18:21 ` [PATCH 0/3] Allow late mdesc detection, v4 Kevin Hilman
2010-08-30 4:07 ` Jeremy Kerr
2010-08-30 16:22 ` Kevin Hilman
2010-09-01 7:39 ` Russell King - ARM Linux
2010-10-15 3:42 ` Nicolas Pitre
2010-10-18 14:19 ` Russell King - ARM Linux
2010-10-18 14:32 ` Nicolas Pitre
2010-10-19 1:34 ` Tony Lindgren
-- strict thread matches above, loose matches on Subject: below --
2010-09-01 1:07 [PATCH 0/3] Allow late mdesc detection, v5 Jeremy Kerr
2010-09-01 1:07 ` [PATCH 1/3] arm/debug: consolidate addruart macros for CONFIG_DEBUG_ICEDCC Jeremy Kerr
2010-07-30 9:22 [PATCH 0/3] Allow late mdesc detection, v3 Jeremy Kerr
2010-07-30 9:22 ` [PATCH 1/3] arm/debug: consolidate addruart macros for CONFIG_DEBUG_ICEDCC Jeremy Kerr
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=1282553423.738368.837405521244.1.gpush@pororo \
--to=jeremy.kerr@canonical.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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