xtensa: clear all DBREAKC registers on start
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 3 Mar 2016 15:34:29 +0000 (18:34 +0300)
committerChris Zankel <chris@zankel.net>
Fri, 11 Mar 2016 08:53:32 +0000 (08:53 +0000)
commit7de7ac785ae18a2cdc78d7560f48e3213d9ea0ab
tree47342b5ae939939f3518a04e7bb604f8a5c852d4
parent56b9f9d672fe373093b764cf046da7c7d3737bda
xtensa: clear all DBREAKC registers on start

There are XCHAL_NUM_DBREAK registers, clear them all.
This also fixes cryptic assembler error message with binutils 2.25 when
XCHAL_NUM_DBREAK is 0:

  as: out of memory allocating 18446744073709551575 bytes after a total
  of 495616 bytes

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/head.S