From: Jiri Slaby Date: Mon, 5 Mar 2012 13:52:08 +0000 (+0100) Subject: TTY: serial, use atomic_inc_return in ioc4_serial X-Git-Tag: v3.4-rc1~185^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4da2405606d47ca767e0c6ba556f127cfa2181d0;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed