Max Filippov
a3d0245c58
xtensa: fix xtensa_wsr always writing 0
...
The commit cad6fade6e ("xtensa: clean up WSR*/RSR*/get_sr/set_sr")
replaced 'WSR' macro in the function xtensa_wsr with 'xtensa_set_sr',
but variable 'v' in the xtensa_set_sr body shadowed the argument 'v'
passed to it, resulting in wrong value written to debug registers.
Fix that by removing intermediate variable from the xtensa_set_sr
macro body.
Cc: stable@vger.kernel.org
Fixes: cad6fade6e ("xtensa: clean up WSR*/RSR*/get_sr/set_sr")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com >
2022-03-20 09:53:01 -07:00
..
2009-12-12 13:08:14 +01:00
2019-03-04 10:50:14 -08:00
2022-03-19 13:08:11 -07:00
2021-10-18 22:19:34 -07:00
2019-05-07 10:36:31 -07:00
2022-01-15 08:47:31 -08:00
2014-04-02 01:35:51 +04:00
2019-11-26 11:33:38 -08:00
2018-08-13 20:08:01 -07:00
2021-11-17 10:36:15 -05:00
2020-08-20 15:45:21 -04:00
2021-10-18 22:19:34 -07:00
2019-05-06 17:48:55 -07:00
2022-03-19 13:08:11 -07:00
2017-12-10 14:48:55 -08:00
2014-01-15 00:28:11 +04:00
2011-03-31 11:26:23 -03:00
2018-12-17 13:48:22 -08:00
2020-11-16 21:19:24 +01:00
2019-06-24 09:16:47 +10:00
2014-05-21 03:10:32 -04:00
2021-12-11 23:31:51 +01:00
2020-11-16 21:19:24 +01:00
2018-06-26 09:07:58 +02:00
2021-04-04 15:39:04 -07:00
2019-11-11 21:18:19 +01:00
2019-05-06 17:48:55 -07:00
2019-05-14 19:52:50 -07:00
2018-12-20 14:44:38 -08:00
2018-02-11 09:18:12 -08:00
2020-12-29 15:36:49 -08:00
2021-09-27 06:08:58 -07:00
2017-12-10 14:48:54 -08:00
2020-10-27 16:02:39 +01:00
2014-01-14 10:19:58 -08:00
2014-01-14 10:19:58 -08:00
2020-10-27 16:02:39 +01:00
2021-06-29 10:53:55 -07:00
2022-03-06 20:17:09 -08:00
2019-05-06 17:48:54 -07:00
2014-01-15 00:27:03 +04:00
2021-07-01 11:06:03 -07:00
2021-07-01 11:06:02 -07:00
2020-01-31 12:17:25 -08:00
2022-03-20 09:53:01 -07:00
2022-03-07 12:02:54 -08:00
2019-09-01 13:11:57 -07:00
2020-11-20 11:16:35 -08:00
2021-10-18 22:19:35 -07:00
2013-02-03 15:09:22 -05:00
2014-01-14 10:19:59 -08:00
2021-12-07 15:14:12 +01:00
2021-02-11 07:59:54 -05:00
2017-12-16 22:37:07 -08:00
2015-08-17 07:32:49 +03:00
2018-01-02 03:25:41 -08:00
2012-03-28 18:30:03 +01:00
2021-09-14 16:06:20 +02:00
2016-07-24 06:34:00 +03:00
2020-11-12 08:45:56 -07:00
2018-12-04 14:08:11 -08:00
2019-04-03 10:32:54 +02:00
2021-06-29 10:53:52 -07:00
2021-10-18 22:19:35 -07:00
2021-07-30 10:30:21 +02:00
2019-06-21 01:54:53 +02:00
2020-02-04 21:57:02 -08:00
2020-04-23 10:50:26 +09:00
2019-12-10 10:12:55 +01:00