linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: eric.y.miao@gmail.com (Eric Miao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/6] [ARM] footbridge: remove the useless definition of __mem_pci()
Date: Wed, 23 Jun 2010 19:52:14 +0800	[thread overview]
Message-ID: <1277293938-25804-3-git-send-email-eric.y.miao@gmail.com> (raw)
In-Reply-To: <1277293938-25804-1-git-send-email-eric.y.miao@gmail.com>

Signed-off-by: Eric Miao <eric.miao@canonical.com>
---
 arch/arm/mach-footbridge/include/mach/io.h |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/arch/arm/mach-footbridge/include/mach/io.h b/arch/arm/mach-footbridge/include/mach/io.h
index c65ed51..d3b14d2 100644
--- a/arch/arm/mach-footbridge/include/mach/io.h
+++ b/arch/arm/mach-footbridge/include/mach/io.h
@@ -21,18 +21,6 @@
  * Translation of various region addresses to virtual addresses
  */
 #define __io(a)			((void __iomem *)(PCIO_BASE + (a)))
-#if 1
 #define __mem_pci(a)		(a)
-#else
-
-static inline void __iomem *___mem_pci(void __iomem *p)
-{
-	unsigned long a = (unsigned long)p;
-	BUG_ON(a <= 0xc0000000 || a >= 0xe0000000);
-	return p;
-}
-
-#define __mem_pci(a)		___mem_pci(a)
-#endif
 
 #endif
-- 
1.7.1

  parent reply	other threads:[~2010-06-23 11:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 11:52 [PATCH 0/6] Cleanup of mach/io.h Eric Miao
2010-06-23 11:52 ` [PATCH 1/6] [ARM] Make common definition for IO_SPACE_LIMIT Eric Miao
2010-06-23 19:48   ` Russell King - ARM Linux
2010-06-23 11:52 ` Eric Miao [this message]
2010-06-23 11:52 ` [PATCH 3/6] [ARM] Make __mem_pci() common to all ARM sub-architectures Eric Miao
2010-06-23 19:51   ` Russell King - ARM Linux
2010-06-23 11:52 ` [PATCH 4/6] [ARM] Remove useless __mem_isa() definitions Eric Miao
2010-06-23 11:52 ` [PATCH 5/6] [ARM] shmobile: change __io() definition to use __typesafe_io() Eric Miao
2010-06-23 11:59   ` Eric Miao
2010-06-23 11:52 ` [PATCH 6/6] [ARM] Introduce common definition for __io() Eric Miao
2010-06-23 19:54   ` Russell King - ARM Linux
2010-06-25  7:35     ` kprobe bug Bin Yang
2010-06-25 20:49       ` Nicolas Pitre
2010-06-28  2:27         ` Bin Yang
2010-06-28 15:08           ` Nicolas Pitre

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=1277293938-25804-3-git-send-email-eric.y.miao@gmail.com \
    --to=eric.y.miao@gmail.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;
as well as URLs for NNTP newsgroup(s).