Files
android_kernel_xiaomi_sm8450/arch/mips/include/asm
Jiaxun Yang 188edaaaad MIPS: cpu-features: Use boot_cpu_type for CPU type based features
[ Upstream commit 5487a7b60695a92cf998350e4beac17144c91fcd ]

Some CPU feature macros were using current_cpu_type to mark feature
availability.

However current_cpu_type will use smp_processor_id, which is prohibited
under preemptable context.

Since those features are all uniform on all CPUs in a SMP system, use
boot_cpu_type instead of current_cpu_type to fix preemptable kernel.

Cc: stable@vger.kernel.org
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-30 16:23:10 +02:00
..
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2021-03-04 11:37:41 +01:00
2020-05-22 09:09:01 +02:00
2019-10-31 15:03:10 -07:00
2020-05-22 09:09:01 +02:00
2019-05-22 18:45:52 -07:00
2020-05-22 09:09:01 +02:00
2020-07-28 22:49:53 +02:00
2020-05-19 17:39:32 +02:00
2019-02-04 10:56:41 -08:00
2019-02-04 10:56:41 -08:00
2020-05-22 09:10:53 +02:00
2020-05-07 11:55:47 +02:00
2019-07-01 17:51:40 +02:00
2019-10-31 15:03:10 -07:00
2018-08-01 13:20:15 -07:00
2023-03-11 16:40:04 +01:00
2019-04-03 10:32:54 +02:00
2020-08-12 10:57:58 -07:00
2019-10-02 14:06:41 -07:00
2019-07-25 21:45:05 -07:00
2023-03-11 16:39:45 +01:00
2020-09-07 22:25:27 +02:00
2016-05-09 12:00:02 +02:00