Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208661
b: refs/heads/master
c: ff9170a
h: refs/heads/master
i:
  208659: fac146f
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Apr 7, 2010
1 parent cfc02b8 commit 235d210
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8fc883c2989c20781b001f8271d454d9b314a6ea
refs/heads/master: ff9170aeff93575b05474f29533ac9688891742e
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-shmobile/include/mach/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
#define NR_IRQS 512
#define NR_IRQS_LEGACY 8

/* INTCA */
#define evt2irq(evt) (((evt) >> 5) - 16)
#define irq2evt(irq) (((irq) + 16) << 5)

/* INTCS */
#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))

#endif /* __ASM_MACH_IRQS_H */

0 comments on commit 235d210

Please sign in to comment.