Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198933
b: refs/heads/master
c: 459f2a3
h: refs/heads/master
i:
  198931: d9d222b
v: v3
  • Loading branch information
Ben Dooks committed May 26, 2010
1 parent 75ce2bd commit 5913b71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5fae405838527c136a920eb7b9a2edfc5d2b6198
refs/heads/master: 459f2a32024b46b7f144999738112eb88654eb0f
7 changes: 2 additions & 5 deletions trunk/arch/arm/mach-s5pc100/include/mach/regs-gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,9 @@
#define S5PC100EINT30PEND (S5P_VA_GPIO + 0xF40)
#define S5P_EINT_PEND(x) (S5PC100EINT30PEND + ((x) * 0x4))

#define eint_offset(irq) ((irq) < IRQ_EINT16_31 ? ((irq) - IRQ_EINT(0)) : \
(((irq) - S5P_EINT_BASE2)))
#define EINT_REG_NR(x) (EINT_OFFSET(x) >> 3)

#define EINT_REG_NR(x) (eint_offset(x) >> 3)

#define eint_irq_to_bit(irq) (1 << (eint_offset(irq) & 0x7))
#define eint_irq_to_bit(irq) (1 << (EINT_OFFSET(irq) & 0x7))

/* values for S5P_EXTINT0 */
#define S5P_EXTINT_LOWLEV (0x00)
Expand Down

0 comments on commit 5913b71

Please sign in to comment.