ARM: EXYNOS4: Add functions for gic interrupt handling
authorChanghwan Youn <chaos.youn@samsung.com>
Tue, 4 Oct 2011 08:08:57 +0000 (17:08 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 4 Oct 2011 09:35:02 +0000 (18:35 +0900)
commit90a454b4c5ef16ec71797b3dcaf454e604c786a3
tree11cf8fcec590c912b4cb35a24232337f1f7e1946
parentb88b1cc72e2bbb55c56f2df55b5ad59a18ad1464
ARM: EXYNOS4: Add functions for gic interrupt handling

This patch adds two functions for gic interrupt handling.
1. Add interrupt handling of 4 cores.
2. Dynamically set gic bank offset according to the type of soc.
   Gic bank offset of EXYNOS4412 is 0x4000 while the offset of
   EXYNOS4210 and EXYNOS4212 is 0x8000.

This patch is necessary because EXYNOS4 socs cannot support
GIC register banking as described in commit aab74d3e75364.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos4/cpu.c
arch/arm/mach-exynos4/include/mach/entry-macro.S
arch/arm/mach-exynos4/include/mach/map.h
arch/arm/mach-exynos4/platsmp.c