[PATCH] S3C64XX: Fix EINT group macro definition
Ben Dooks
ben-linux at fluff.org
Thu Jan 8 19:31:29 CET 2009
On Thu, Jan 08, 2009 at 04:27:30PM +0800, Matt Hsu wrote:
> EINT group macro produces an error.
> Fix this by giving correct macro arguments.
>
> Signed-off-by: Matt Hsu <matt_hsu at openmoko.org>
> ---
> arch/arm/plat-s3c64xx/include/plat/irqs.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Merged with better descriptive text, awaiting RMK push.
> diff --git a/arch/arm/plat-s3c64xx/include/plat/irqs.h b/arch/arm/plat-s3c64xx/include/plat/irqs.h
> index b850852..9af66c9 100644
> --- a/arch/arm/plat-s3c64xx/include/plat/irqs.h
> +++ b/arch/arm/plat-s3c64xx/include/plat/irqs.h
> @@ -192,7 +192,7 @@
> #define IRQ_EINT_GROUP8_BASE (IRQ_EINT_GROUP7_BASE + IRQ_EINT_GROUP7_NR)
> #define IRQ_EINT_GROUP9_BASE (IRQ_EINT_GROUP8_BASE + IRQ_EINT_GROUP8_NR)
>
> -#define IRQ_EINT_GROUP(group, no) (IRQ_EINT_GROUP##group##__BASE + (x))
> +#define IRQ_EINT_GROUP(group, no) (IRQ_EINT_GROUP##group##_BASE + (no))
>
> /* Set the default NR_IRQS */
>
> --
> 1.5.6.5
>
>
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
More information about the openmoko-kernel
mailing list