]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: fix icountlevel setting in cpu_reset
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 Sep 2016 05:05:32 +0000 (22:05 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 12 Sep 2016 06:53:22 +0000 (23:53 -0700)
commitbc4586a2579d6854198b3734449f3d523e8a689b
tree2383730a838fe437d1a9d8e152f72348d9672fdd
parent382a4a1182d0bc3879872d2ec4064ed105cc8758
xtensa: fix icountlevel setting in cpu_reset

icountlevel SR value specifies lowest intlevel that does not do
instruction counting, so to disable instruction counting completely it
must be set to 0, not to 15.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/setup.c