]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
xtensa: clear all DBREAKC registers on start
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 3 Mar 2016 15:34:29 +0000 (18:34 +0300)
committerTim Gardner <tim.gardner@canonical.com>
Thu, 21 Apr 2016 12:53:12 +0000 (06:53 -0600)
commit6ea25efdd7c50f62ce69902627cc4a5fc536a999
treeb4893b67a31508d0b9c951cbfff5f2de4edc3588
parent13e5187e4ea034d0831ba580e6ffbdc69ae50328
xtensa: clear all DBREAKC registers on start

BugLink: http://bugs.launchpad.net/bugs/1572722
commit 7de7ac785ae18a2cdc78d7560f48e3213d9ea0ab upstream.

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

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/xtensa/kernel/head.S