xtensa: fix ibreakenable register update
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 3 Mar 2013 23:40:42 +0000 (03:40 +0400)
committerChris Zankel <chris@zankel.net>
Thu, 9 May 2013 08:07:09 +0000 (01:07 -0700)
commitd83ff0bb828854d9e7172ac5d8d007a7466934c9
tree188dfa08078c116698d4673a42a38b40e75a4ccb
parent74f5bf029ee052e3d845672728e80b7240d14f09
xtensa: fix ibreakenable register update

Only set the register when there is at least one ibreak register,
otherwise the build fails:
arch/xtensa/kernel/head.S:105: Error: invalid register 'ibreakenable'
for 'wsr' instruction
arch/xtensa/platforms/iss/setup.c:67: Error: invalid register
'ibreakenable' for 'wsr' instruction

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/head.S
arch/xtensa/platforms/iss/setup.c
arch/xtensa/platforms/xt2000/setup.c
arch/xtensa/platforms/xtfpga/setup.c