Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166372
b: refs/heads/master
c: b247150
h: refs/heads/master
v: v3
  • Loading branch information
Bjorn Helgaas authored and Len Brown committed Sep 25, 2009
1 parent c892630 commit 4c5087b
Show file tree
Hide file tree
Showing 25 changed files with 487 additions and 1,609 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: bfebb1406329667f2cccb50fad1de87f573b2c1a
refs/heads/master: b24715027aab5e586c4ab1d035f3e543307dea69
2 changes: 0 additions & 2 deletions trunk/arch/arm/kernel/entry-header.S
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@
ldr r0, [sp]
strex r1, r2, [sp] @ clear the exclusive monitor
ldmib sp, {r1 - pc}^ @ load r1 - pc, cpsr
#else
ldmia sp, {r0 - pc}^ @ load r0 - pc, cpsr
#endif
.endm

Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/sparc/include/asm/vio.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ static inline void *vio_dring_entry(struct vio_dring_state *dr,
static inline u32 vio_dring_avail(struct vio_dring_state *dr,
unsigned int ring_size)
{
MAYBE_BUILD_BUG_ON(!is_power_of_2(ring_size));

return (dr->pending -
((dr->prod - dr->cons) & (ring_size - 1)));
}
Expand Down
Loading

0 comments on commit 4c5087b

Please sign in to comment.