[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111007102754.GF21464@n2100.arm.linux.org.uk>
Date: Fri, 7 Oct 2011 11:27:54 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Kukjin Kim <kgene.kim@...sung.com>
Cc: linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
joerg.roedel@....com, 'Ohad Ben-Cohen' <ohad@...ery.com>,
'Sanghyun Lee' <sanghyun75.lee@...sung.com>,
younglak1004.kim@...sung.com
Subject: Re: [PATCH v3 1/2] ARM: EXYNOS4: Change System MMU device
definition
On Fri, Oct 07, 2011 at 06:56:21PM +0900, Kukjin Kim wrote:
> +#define SYSMMU_RESOURCE(ipname, base, irq) \
> +static struct resource sysmmu_resource_##ipname[] =\
> +{\
> + {\
> + .start = EXYNOS4_PA_SYSMMU_##base,\
> + .end = EXYNOS4_PA_SYSMMU_##base + SZ_4K - 1,\
> + .flags = IORESOURCE_MEM,\
> + }, {\
> + .start = IRQ_SYSMMU_##irq##_0,\
> + .end = IRQ_SYSMMU_##irq##_0,\
> + .flags = IORESOURCE_IRQ,\
> + },\
> }
#define SYSMMU_RESOURCE(ipname, base, irq) \
static struct resource sysmmu_resource_##ipname[] = \
{ \
DEFINE_RES_MEM(EXYNOS4_PA_SYSMMU_##base, SZ_4K), \
DEFINE_RES_IRQ(IRQ_SYSMMU_##irq##_0), \
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists