From: eric.y.miao@gmail.com (Eric Miao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] [ARM] shmobile: change __io() definition to use __typesafe_io()
Date: Fri, 25 Jun 2010 15:44:29 +0800 [thread overview]
Message-ID: <1277451871-15319-3-git-send-email-eric.y.miao@gmail.com> (raw)
In-Reply-To: <1277451871-15319-1-git-send-email-eric.y.miao@gmail.com>
From: Eric Miao <eric.miao@canonical.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Eric Miao <eric.miao@canonical.com>
---
arch/arm/mach-shmobile/include/mach/io.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-shmobile/include/mach/io.h b/arch/arm/mach-shmobile/include/mach/io.h
index 7339fe4..df793df 100644
--- a/arch/arm/mach-shmobile/include/mach/io.h
+++ b/arch/arm/mach-shmobile/include/mach/io.h
@@ -3,7 +3,7 @@
#define IO_SPACE_LIMIT 0xffffffff
-#define __io(a) ((void __iomem *)(a))
+#define __io(a) __typesafe_io(a)
#define __mem_pci(a) (a)
#endif /* __ASM_MACH_IO_H */
--
1.7.1
next prev parent reply other threads:[~2010-06-25 7:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-25 7:44 [PATCH 0/4] Allow absence of mach/io.h Eric Miao
2010-06-25 7:44 ` [PATCH 1/4] [ARM] Remove useless __mem_isa() definitions Eric Miao
2010-07-23 9:25 ` Eric Miao
2010-06-25 7:44 ` Eric Miao [this message]
2010-06-25 8:24 ` [PATCH 2/4] [ARM] shmobile: change __io() definition to use __typesafe_io() Magnus Damm
2010-06-25 8:29 ` Eric Miao
2010-06-25 7:44 ` [PATCH 3/4] [ARM] Introduce USE_DEFAULT_IO_H to use default definitions in asm/io.h Eric Miao
2010-06-25 18:30 ` Nicolas Pitre
2010-06-25 7:44 ` [PATCH 4/4] [ARM] Make pxa and mmp to USE_DEFAULT_IO_H Eric Miao
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=1277451871-15319-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).