summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/m32r_sio.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-05 14:52:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 20:47:01 +0100
commit4da2405606d47ca767e0c6ba556f127cfa2181d0 (patch)
treed03cb844398c91ee97980a85a3eee007c184ce0f /drivers/tty/serial/m32r_sio.h
parentTTY: iss/console, use tty_port (diff)
downloadlinux-4da2405606d47ca767e0c6ba556f127cfa2181d0.tar.xz
linux-4da2405606d47ca767e0c6ba556f127cfa2181d0.zip
TTY: serial, use atomic_inc_return in ioc4_serial
We want to know the value of the atomic variable in intr_connect after the increment. But atomic_inc doesn't, per definition, return the value. It is just a pure coincidence that ia64 defines atomic_inc as atomic_inc_return. So fix this mistake by using atomic_inc_return properly. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/m32r_sio.h')
0 files changed, 0 insertions, 0 deletions