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 1/3] ARM: cns3xxx: Add basic support for Cavium Networks CNS3xxx processors
Date: Wed, 14 Apr 2010 16:40:37 +0100	[thread overview]
Message-ID: <20100414154037.GC21526@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20100330190245.GB7611@oksana.dev.rtsoft.ru>

On Tue, Mar 30, 2010 at 11:02:45PM +0400, Anton Vorontsov wrote:
> diff --git a/arch/arm/mach-cns3xxx/include/mach/io.h b/arch/arm/mach-cns3xxx/include/mach/io.h
> new file mode 100644
> index 0000000..b4ff09a
> --- /dev/null
> +++ b/arch/arm/mach-cns3xxx/include/mach/io.h
> @@ -0,0 +1,22 @@
> +/*
> + * Copyright 2008 Cavium Networks
> + * Copyright 2003 ARM Limited
> + *
> + * This file is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License, Version 2, as
> + * published by the Free Software Foundation.
> + */
> +#ifndef __MACH_IO_H
> +#define __MACH_IO_H
> +
> +#define IO_SPACE_LIMIT 0xffffffff
> +
> +static inline void __iomem *__io(unsigned long addr)
> +{
> +	return (void __iomem *)addr;
> +}

I'm not sure why you define a static inline function for __io here - it's
overriden by the following macro:

> +
> +#define __io(a)			__typesafe_io(a)
> +#define __mem_pci(a)		(a)

  reply	other threads:[~2010-04-14 15:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-30 19:02 [PATCH v3 0/3] Support for Cavium Networks CNS3xxx machines Anton Vorontsov
2010-03-30 19:02 ` [PATCH 1/3] ARM: cns3xxx: Add basic support for Cavium Networks CNS3xxx processors Anton Vorontsov
2010-04-14 15:40   ` Russell King - ARM Linux [this message]
2010-04-14 16:15     ` [PATCH v4 " Anton Vorontsov
2010-03-30 19:02 ` [PATCH 2/3] ARM: cns3xxx: Add CNS3420 Validation Board support Anton Vorontsov
2010-03-30 19:02 ` [PATCH 3/3] ARM: cns3xxx: Add defconfig for CNS3420 validation board Anton Vorontsov
2010-04-14 15:37 ` [PATCH v3 0/3] Support for Cavium Networks CNS3xxx machines Anton Vorontsov
  -- strict thread matches above, loose matches on Subject: below --
2010-05-02 19:36 [PATCH v4 " Anton Vorontsov
2010-05-02 19:37 ` [PATCH 1/3] ARM: cns3xxx: Add basic support for Cavium Networks CNS3xxx processors Anton Vorontsov
2010-03-26 19:23 [PATCH v2 0/3] Support for Cavium Networks CNS3xxx machines Anton Vorontsov
2010-03-26 19:23 ` [PATCH 1/3] ARM: cns3xxx: Add basic support for Cavium Networks CNS3xxx processors Anton Vorontsov

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=20100414154037.GC21526@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).