]> 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)
commitef1b74d3d0292be932a4655989e45ec8f380a613
tree2383730a838fe437d1a9d8e152f72348d9672fdd
parente5eb3e2775e4d6f8d12ba8e0d9acdefc02ed23fe
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