Jiri Slaby 4da2405606 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>
2012-03-08 11:47:01 -08:00
..
2012-01-24 12:55:36 -08:00
2012-01-26 17:14:50 -08:00
2011-09-22 15:49:26 -07:00
2012-01-26 11:29:47 -08:00
2011-09-22 16:08:57 -07:00
2011-02-17 11:16:15 -08:00
2011-03-31 11:26:23 -03:00
2012-02-10 10:25:27 -08:00
2012-02-10 10:25:27 -08:00
2011-03-31 11:26:23 -03:00
2011-09-22 16:08:57 -07:00
2012-01-26 17:14:50 -08:00
2011-08-26 11:01:15 -07:00
2012-01-09 14:44:15 -08:00
2012-01-26 17:14:50 -08:00
2011-09-22 15:47:53 -07:00
2011-09-22 16:08:57 -07:00
2012-02-24 13:50:45 -08:00
2012-01-26 17:14:50 -08:00
2012-01-26 17:14:50 -08:00
2011-09-22 15:49:26 -07:00