aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJiaxun Yang <[email protected]>2023-06-07 13:51:22 +0800
committerThomas Bogendoerfer <[email protected]>2023-06-09 09:56:22 +0200
commit5487a7b60695a92cf998350e4beac17144c91fcd (patch)
treef24bd6180169265d3009371b224041b00c981663 /scripts/generate_rust_analyzer.py
parentece68749f86230ebf691bd7ee27eb3118140b1f1 (diff)
MIPS: cpu-features: Use boot_cpu_type for CPU type based features
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: [email protected] Signed-off-by: Jiaxun Yang <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions