Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10098
b: refs/heads/master
c: 958d24d
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Linus Torvalds committed Oct 26, 2005
1 parent 8b0800b commit e74feb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 1c6fe9465941df04a1ad8f009bd6d95b20072a58
refs/heads/master: 958d24df82e021704437da0789c47fcf581e4b85
4 changes: 2 additions & 2 deletions trunk/arch/ppc64/kernel/mpic.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,8 @@ struct mpic * __init mpic_alloc(unsigned long phys_addr,
mpic->senses_count = senses_count;

/* Map the global registers */
mpic->gregs = ioremap(phys_addr + MPIC_GREG_BASE, 0x1000);
mpic->tmregs = mpic->gregs + (MPIC_TIMER_BASE >> 2);
mpic->gregs = ioremap(phys_addr + MPIC_GREG_BASE, 0x2000);
mpic->tmregs = mpic->gregs + ((MPIC_TIMER_BASE - MPIC_GREG_BASE) >> 2);
BUG_ON(mpic->gregs == NULL);

/* Reset */
Expand Down

0 comments on commit e74feb5

Please sign in to comment.