X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Farc%2Finclude%2Fasm%2Fmmu_context.h;h=49318a126879246d26c3c1196947246abd1fd8c2;hb=47910ca3ce946662f950d700f26e51c563a9821f;hp=df164066e172638fea5f95d9d8ae0e6ebe6ded4d;hpb=73dc923eeb5dab8933ec03fecffca590923ef507;p=linux-2.6-microblaze.git diff --git a/arch/arc/include/asm/mmu_context.h b/arch/arc/include/asm/mmu_context.h index df164066e172..49318a126879 100644 --- a/arch/arc/include/asm/mmu_context.h +++ b/arch/arc/include/asm/mmu_context.h @@ -146,7 +146,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, */ cpumask_set_cpu(cpu, mm_cpumask(next)); -#ifdef ARC_USE_SCRATCH_REG +#ifdef CONFIG_ISA_ARCV2 /* PGD cached in MMU reg to avoid 3 mem lookups: task->mm->pgd */ write_aux_reg(ARC_REG_SCRATCH_DATA0, next->pgd); #endif