linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/6] [ARM] Introduce common definition for __io()
Date: Wed, 23 Jun 2010 20:54:56 +0100	[thread overview]
Message-ID: <20100623195456.GC25070@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1277293938-25804-7-git-send-email-eric.y.miao@gmail.com>

On Wed, Jun 23, 2010 at 07:52:18PM +0800, Eric Miao wrote:
> Signed-off-by: Eric Miao <eric.miao@canonical.com>
> ---
>  arch/arm/include/asm/io.h                 |    4 ++++
>  arch/arm/mach-aaec2000/include/mach/io.h  |    1 -
>  arch/arm/mach-at91/include/mach/io.h      |    1 -
>  arch/arm/mach-bcmring/include/mach/io.h   |    1 -
>  arch/arm/mach-clps711x/include/mach/io.h  |    1 -
>  arch/arm/mach-cns3xxx/include/mach/io.h   |    1 -
>  arch/arm/mach-davinci/include/mach/io.h   |    1 -
>  arch/arm/mach-ep93xx/include/mach/io.h    |    1 -

Again, ebsa110 is missing.

That's because __io() is a two-state definition.  It means something
if a platform does _not_ define it.  It also means something _if_ a
platform defines it.

You can't move it to asm/io.h because that precludes the first state
from ever occuring.  It's not a simple case that those platforms can
provide some subsitute definition for __io() - they have to supply
their own inb() et.al. accessors because they need to do something
uniquely special there.

  reply	other threads:[~2010-06-23 19:54 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 ` [PATCH 2/6] [ARM] footbridge: remove the useless definition of __mem_pci() Eric Miao
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 [this message]
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=20100623195456.GC25070@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --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).