MN10300: Introduce barriers to replace removed volatiles in gdbstub 16550 driver
authorDavid Howells <dhowells@redhat.com>
Wed, 3 Dec 2008 16:33:14 +0000 (16:33 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Dec 2008 00:47:40 +0000 (16:47 -0800)
commit004b50f4ed2accb56069d56714a32484f8b83ec0
tree7b8a8960972fed8e2c7bff027eb039e7e2d8d7f6
parent8711cca2251f1fc3beb870a75ff847bb55225490
MN10300: Introduce barriers to replace removed volatiles in gdbstub 16550 driver

Introduce into the MN10300 gdbstub 16550 driver a couple of barrier() calls to
replace the removed volatility of the input/output index variables for the Rx
ring buffer.  A previous patch added them into the on-chip serial port driver.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/kernel/gdb-io-serial.c