Thomas Bogendoerfer 46f1619500
MIPS: include: Mark __xchg as __always_inline
Commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING
forcibly") allows compiler to uninline functions marked as 'inline'.
In cace of __xchg this would cause to reference function
__xchg_called_with_bad_pointer, which is an error case
for catching bugs and will not happen for correct code, if
__xchg is inlined.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
2019-10-09 12:45:31 -07:00
..
2019-07-06 10:32:12 -07:00
2019-07-30 10:41:54 -07:00
2019-08-23 15:42:40 +01:00
2019-08-26 11:42:40 +01:00
2019-05-22 18:45:52 -07:00
2019-08-31 17:12:26 +01:00
2019-02-04 10:56:41 -08:00
2019-02-04 10:56:41 -08:00
2019-07-23 14:33:51 -07:00
2019-07-12 15:13:55 -07:00
2019-07-01 17:51:40 +02:00
2016-04-03 12:32:09 +02:00
2018-08-01 13:20:15 -07:00
2019-04-03 10:32:54 +02:00
2019-10-02 14:06:41 -07:00
2019-07-25 21:45:05 -07:00
2016-05-09 12:00:02 +02:00