Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166370
b: refs/heads/master
c: a72bfd4
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Sep 25, 2009
1 parent cf629ac commit 9d42259
Show file tree
Hide file tree
Showing 21 changed files with 420 additions and 1,465 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: 07e2e6ba2761291aa182993ebba1f490b5005dcc
refs/heads/master: a72bfd4dea053bb8e2233902c3f1893ef5485802
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 9d42259

Please sign in to comment.