ARC: Reset: Use __builtin_arc_brk() instead of open-coded ASM
authorAlexey Brodkin <abrodkin@synopsys.com>
Wed, 30 May 2018 08:31:07 +0000 (11:31 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Thu, 31 May 2018 17:13:29 +0000 (20:13 +0300)
commit8f187142e51634d6887ef397cd6abaa7fab14b21
tree29973b4fb46c63faab32abbeb0b2e8f60cb1b2ed
parentef2cd492adf20fa301a8c5b1ee516aedb677bba8
ARC: Reset: Use __builtin_arc_brk() instead of open-coded ASM

For quite some time we have a GCC's built-in which inserts BRK
instruction so let's use it instead of simple insertion of in-line
assembly.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/lib/reset.c