Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138504
b: refs/heads/master
c: 30c4046
h: refs/heads/master
v: v3
  • Loading branch information
dayu@datangmobile.cn authored and Kumar Gala committed Mar 9, 2009
1 parent f4dd45b commit 15a8047
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 1ab082d7cbd0f34e39a5396cc6340c00bc5d66ef
refs/heads/master: 30c404699dd650f213d480d263c775915a0e1297
6 changes: 2 additions & 4 deletions trunk/arch/powerpc/sysdev/ipic.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,7 @@ static void ipic_ack_irq(unsigned int virq)

spin_lock_irqsave(&ipic_lock, flags);

temp = ipic_read(ipic->regs, ipic_info[src].ack);
temp |= (1 << (31 - ipic_info[src].bit));
temp = 1 << (31 - ipic_info[src].bit);
ipic_write(ipic->regs, ipic_info[src].ack, temp);

/* mb() can't guarantee that ack is finished. But it does finish
Expand All @@ -592,8 +591,7 @@ static void ipic_mask_irq_and_ack(unsigned int virq)
temp &= ~(1 << (31 - ipic_info[src].bit));
ipic_write(ipic->regs, ipic_info[src].mask, temp);

temp = ipic_read(ipic->regs, ipic_info[src].ack);
temp |= (1 << (31 - ipic_info[src].bit));
temp = 1 << (31 - ipic_info[src].bit);
ipic_write(ipic->regs, ipic_info[src].ack, temp);

/* mb() can't guarantee that ack is finished. But it does finish
Expand Down

0 comments on commit 15a8047

Please sign in to comment.