X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Fmips%2Fkernel%2Ftraps.c;h=5c8a49d55054dffce696066bad88d1863c5e7f35;hb=b6844523839779030430ff28f036f83e2a3f43e6;hp=261ccbc0774016aa6d055eb19dd82067f7ad65e8;hpb=1dd6c0770d7d4ca477a1a8452ab0161b1150e4ad;p=karo-tx-linux.git diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 261ccbc07740..5c8a49d55054 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -1596,7 +1596,8 @@ void __cpuinit per_cpu_trap_init(void) } #endif /* CONFIG_MIPS_MT_SMTC */ - cpu_data[cpu].asid_cache = ASID_FIRST_VERSION; + if (!cpu_data[cpu].asid_cache) + cpu_data[cpu].asid_cache = ASID_FIRST_VERSION; atomic_inc(&init_mm.mm_count); current->active_mm = &init_mm;