]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
xtensa: ISS: fix rs_put_char
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 14 Oct 2012 23:55:33 +0000 (03:55 +0400)
committerChris Zankel <chris@zankel.net>
Tue, 16 Oct 2012 04:39:20 +0000 (21:39 -0700)
commitc88d8df0cc69fe0238f2c805a87cc67fb27a43fe
tree37af3c6aab48c8e20c7c67cfc7558c75b45bd846
parent50c08f8e9f44bc7b20e06c06d1180f3b914e5a83
xtensa: ISS: fix rs_put_char

ISS serial console prints garbage instead of symbols printed via
rs_put_char. gcc optimizes away putting prined symbol into memory buffer
because there's no evidence that the buffer is used afterwards.

Make rs_put_char and rs_write use simc_write that has explicit wmb.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/platforms/iss/console.c