summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100/include/mach/entry-macro.S
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2011-12-19 21:12:47 -0800
committerOlof Johansson <olof@lixom.net>2011-12-19 21:12:53 -0800
commit4b3ee30b5201ddeefdc56ad32b6bbc1fab8b084a (patch)
tree0ac643f1a0c57a88452ef017c61d325fab98d00a /arch/arm/mach-s5pc100/include/mach/entry-macro.S
parentf68453e076dcf140c4a7bdd385f239b1e41be983 (diff)
parent1b46f8782c2607afa1298b0c7f7fe307fc0f7a5b (diff)
Merge branch 'picoxcell/devel' into next/devel
* picoxcell/devel: (1 commit) ARM: picoxcell: implement watchdog restart
Diffstat (limited to 'arch/arm/mach-s5pc100/include/mach/entry-macro.S')
-rw-r--r--arch/arm/mach-s5pc100/include/mach/entry-macro.S25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/arm/mach-s5pc100/include/mach/entry-macro.S b/arch/arm/mach-s5pc100/include/mach/entry-macro.S
index ba76af052c8..b8c242edfa2 100644
--- a/arch/arm/mach-s5pc100/include/mach/entry-macro.S
+++ b/arch/arm/mach-s5pc100/include/mach/entry-macro.S
@@ -12,39 +12,14 @@
* warranty of any kind, whether express or implied.
*/
-#include <asm/hardware/vic.h>
-#include <mach/map.h>
-#include <plat/irqs.h>
-
.macro disable_fiq
.endm
.macro get_irqnr_preamble, base, tmp
- ldr \base, =VA_VIC0
.endm
.macro arch_ret_to_user, tmp1, tmp2
.endm
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
-
- @ check the vic0
- mov \irqnr, # S5P_IRQ_OFFSET + 31
- ldr \irqstat, [ \base, # VIC_IRQ_STATUS ]
- teq \irqstat, #0
-
- @ otherwise try vic1
- addeq \tmp, \base, #(VA_VIC1 - VA_VIC0)
- addeq \irqnr, \irqnr, #32
- ldreq \irqstat, [ \tmp, # VIC_IRQ_STATUS ]
- teqeq \irqstat, #0
-
- @ otherwise try vic2
- addeq \tmp, \base, #(VA_VIC2 - VA_VIC0)
- addeq \irqnr, \irqnr, #32
- ldreq \irqstat, [ \tmp, # VIC_IRQ_STATUS ]
- teqeq \irqstat, #0
-
- clzne \irqstat, \irqstat
- subne \irqnr, \irqnr, \irqstat
.endm