]> git.baikalelectronics.ru Git - kernel.git/commit
MN10300: ttySM: Use memory barriers correctly in circular buffer logic
authorDavid Howells <dhowells@redhat.com>
Wed, 12 Dec 2012 15:36:37 +0000 (15:36 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 12 Dec 2012 15:46:14 +0000 (15:46 +0000)
commit6e4848afc4b795dbd3e0ad30d8328c521b04c2f3
treea7b5199a61df167bdcc34eb36af97d73bb6b3d0d
parent5a73be16258072206f3afbc9438f9aa751f9980c
MN10300: ttySM: Use memory barriers correctly in circular buffer logic

Use memory barriers correctly in the circular buffer logic used in the driver,
as documented in Documentation/circular-buffers.txt.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
arch/mn10300/kernel/mn10300-serial.c