* + microblaze-iowrite-upon-timeout.patch added to -mm tree
@ 2009-04-16 21:12 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-04-16 21:12 UTC (permalink / raw
To: mm-commits; +Cc: roel.kluin, monstr
The patch titled
microblaze: iowrite upon timeout
has been added to the -mm tree. Its filename is
microblaze-iowrite-upon-timeout.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: microblaze: iowrite upon timeout
From: Roel Kluin <roel.kluin@gmail.com>
retries reaches -1, so the iowrite occurrs upon timeout.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/microblaze/kernel/early_printk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/microblaze/kernel/early_printk.c~microblaze-iowrite-upon-timeout arch/microblaze/kernel/early_printk.c
--- a/arch/microblaze/kernel/early_printk.c~microblaze-iowrite-upon-timeout
+++ a/arch/microblaze/kernel/early_printk.c
@@ -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 */
_
Patches currently in -mm which might be from roel.kluin@gmail.com are
linux-next.patch
drm-fix-lock_test_with_return-macro.patch
pata-rb532-cf-platform_get_irq-failure-ignored.patch
microblaze-iowrite-upon-timeout.patch
uwb-event_size-should-be-signed.patch
scsi-ncr53c8xx-div-reaches-1.patch
scsi-pcmcia-nsp_cs-time_out-reaches-1.patch
frv-duplicate-output_buffer-of-e03.patch
frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch
m68k-count-can-reach-51-not-50.patch
bfin_5xx-misplaced-parentheses.patch
serial-z85c30-bcm1480-loops-reach-1.patch
ufs-sector_t-cannot-be-negative.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-16 21:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16 21:12 + microblaze-iowrite-upon-timeout.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.