Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144144
b: refs/heads/master
c: 6e60c14
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Michal Simek committed Apr 23, 2009
1 parent 91f5364 commit 926fdcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 04e3a553e0cbed369e5649c472ac317b6c45215d
refs/heads/master: 6e60c14810d8da792e418fdcb2110b4185d1b9a2
2 changes: 1 addition & 1 deletion trunk/arch/microblaze/kernel/early_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static void early_printk_putc(char c)

unsigned retries = 10000;
/* read status bit - 0x8 offset */
while (retries-- && (in_be32(base_addr + 8) & (1 << 3)))
while (--retries && (in_be32(base_addr + 8) & (1 << 3)))
;

/* Only attempt the iowrite if we didn't timeout */
Expand Down

0 comments on commit 926fdcd

Please sign in to comment.