Heiko Carstens
12ce0d10f4
futex: Allow architectures to skip futex_atomic_cmpxchg_inatomic() test
...
commit 03b8c7b623c80af264c4c8d6111e5c6289933666 upstream.
If an architecture has futex_atomic_cmpxchg_inatomic() implemented and there
is no runtime check necessary, allow to skip the test within futex_init().
This allows to get rid of some code which would always give the same result,
and also allows the compiler to optimize a couple of if statements away.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Finn Thain <fthain@telegraphics.com.au>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Link: http://lkml.kernel.org/r/20140302120947.GA3641@osiris
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[geert: Backported to v3.10..v3.13]
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-14 06:47:22 -07:00
..
2013-09-25 14:07:49 +02:00
2013-10-03 18:47:54 +02:00
2014-03-06 22:06:27 -08:00
2013-11-13 12:09:34 +09:00
2014-03-23 21:44:09 -07:00
2013-11-13 13:50:17 +01:00
2013-12-22 00:56:35 +01:00
2014-03-31 10:05:15 -07:00
2013-11-19 14:59:50 +01:00
2014-03-23 21:43:59 -07:00
2014-02-22 13:34:59 -08:00
2014-03-31 10:05:14 -07:00
2013-12-10 18:21:34 +00:00
2013-05-04 14:57:58 -04:00
2013-03-12 13:59:14 -07:00
2013-06-12 16:29:46 -07:00
2013-01-11 14:54:55 -08:00
2014-02-13 13:55:28 -08:00
2013-11-05 11:15:03 -05:00
2013-11-05 11:09:16 -05:00
2014-03-23 21:44:19 -07:00
2013-12-20 12:25:45 -08:00
2013-09-09 11:19:09 -07:00
2013-08-08 20:11:27 -04:00
2014-04-03 12:02:38 -07:00
2013-05-01 07:21:43 -07:00
2013-05-01 17:29:18 -04:00
2013-10-09 12:36:13 +02:00
2013-11-14 16:55:11 +09:00
2014-03-23 21:44:09 -07:00
2012-12-18 10:55:28 -08:00
2013-11-13 12:09:12 +09:00
2013-11-09 00:16:23 -05:00
2013-07-09 10:33:26 -07:00
2013-11-28 09:49:41 -08:00
2014-01-17 17:29:36 -08:00
2013-12-19 13:50:32 -05:00
2013-02-23 18:50:11 -08:00
2014-04-14 06:47:22 -07:00
2013-08-30 23:44:11 -07:00
2013-07-14 19:36:59 -04:00
2013-11-15 13:51:36 +09:00
2013-02-05 00:48:46 +01:00
2013-10-19 19:45:35 -04:00
2013-04-15 15:17:26 +09:30
2012-12-20 17:40:19 -08:00
2013-11-15 09:32:22 +09:00
2013-05-28 08:50:00 +02:00
2013-12-18 19:04:50 -08:00
2013-09-30 14:31:02 -07:00
2013-11-13 12:09:26 +09:00
2013-09-12 15:38:03 -07:00
2013-11-13 12:08:59 +09:00
2013-12-13 15:59:11 +00:00
2013-10-25 17:15:18 -04:00
2013-09-25 17:17:01 +01:00
2013-11-15 13:27:50 +09:00
2013-09-07 14:35:32 -07:00
2013-10-30 12:02:58 +08:00
2013-11-13 12:09:35 +09:00
2013-09-28 12:35:52 -07:00
2013-10-24 23:43:29 -04:00
2013-09-30 14:31:03 -07:00
2013-07-03 16:54:42 +02:00
2013-04-18 12:51:19 +02:00
2013-07-14 19:36:59 -04:00
2013-11-13 12:09:33 +09:00
2013-06-18 11:32:10 -05:00
2013-12-18 19:04:50 -08:00
2013-07-14 19:36:59 -04:00
2013-09-12 15:38:02 -07:00
2013-07-03 16:08:06 -07:00
2013-03-26 11:07:19 +11:00
2013-11-09 00:16:29 -05:00
2013-11-15 09:32:22 +09:00
2013-07-14 19:36:59 -04:00
2013-11-15 09:32:22 +09:00
2014-03-31 10:05:14 -07:00
2013-05-09 13:46:38 -04:00
2013-11-13 12:09:13 +09:00
2013-11-13 12:09:33 +09:00
2014-02-13 13:55:36 -08:00
2013-12-10 18:25:28 +00:00
2013-12-10 18:25:28 +00:00
2013-09-11 15:58:27 -07:00
2013-11-19 16:39:05 -05:00
2013-04-29 18:28:42 -07:00
2013-06-19 12:58:42 +02:00
2013-02-16 23:17:25 +01:00
2013-11-19 14:59:50 +01:00
2014-03-23 21:44:10 -07:00
2013-01-27 19:23:31 +01:00
2013-08-30 23:44:11 -07:00
2013-11-15 09:32:22 +09:00
2013-09-24 10:35:19 +01:00
2013-02-27 19:10:24 -08:00
2013-12-13 15:59:11 +00:00
2013-02-27 19:10:22 -08:00
2013-08-30 23:44:11 -07:00
2013-09-24 17:00:25 -07:00
2013-06-19 12:58:42 +02:00
2014-03-06 22:06:25 -08:00