Skip to content

Commit

Permalink
ARM: mach-shmobile: Use 0x3400 as INTCS vector offset
Browse files Browse the repository at this point in the history
Update mach-shmobile to use 0x3400 as INTCS_VECT_BASE.

Since the ARM architecture a little while back added support
for 10 bit irqs we can now undo the previously merged commit
9b7c23a and use 0x3400 as
INTCS vector base.

This change is necessary to avoid overlapping of interrupt
ranges so separate IRQ domains can be used for different INTC
instances. Without this fix the vectors used by various INTC
instances are overlapping on for instance sh7372 which works
at the moment but breaks upcoming IRQ domain support.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
  • Loading branch information
Magnus Damm authored and Rafael J. Wysocki committed Apr 11, 2012
1 parent d7e7e4f commit 1ee8299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/include/mach/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define gic_spi(nr) ((nr) + 32)

/* INTCS */
#define INTCS_VECT_BASE 0x2200
#define INTCS_VECT_BASE 0x3400
#define INTCS_VECT(n, vect) INTC_VECT((n), INTCS_VECT_BASE + (vect))
#define intcs_evt2irq(evt) evt2irq(INTCS_VECT_BASE + (evt))

Expand Down

0 comments on commit 1ee8299

Please sign in to comment.