summaryrefslogtreecommitdiff
path: root/cpu/arm920t/s3c24x0/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm920t/s3c24x0/interrupts.c')
-rw-r--r--cpu/arm920t/s3c24x0/interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/arm920t/s3c24x0/interrupts.c b/cpu/arm920t/s3c24x0/interrupts.c
index 11ec95e..9148946 100644
--- a/cpu/arm920t/s3c24x0/interrupts.c
+++ b/cpu/arm920t/s3c24x0/interrupts.c
@@ -40,7 +40,7 @@
void do_irq (struct pt_regs *pt_regs)
{
- S3C24X0_INTERRUPT * irq = S3C24X0_GetBase_INTERRUPT();
- u_int32_t intpnd = irq->INTPND;
+ struct s3c24x0_interrupt *irq = s3c24x0_get_base_interrupt();
+ u_int32_t intpnd = readl(&irq->INTPND);
}