Permalink
Browse files

ARC: SASID support #6: preventive BUG_ON in activate_mm(): TBD

-activate_mm() will never set SASID as new mm has not been populated yet
-keeping the BUG_ON( ) for now, will be removed completely later

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information...
vineetg authored and vineetgarc committed May 2, 2011
1 parent 9722386 commit e2d7a6533b6c3624fb76bd9c5e4cf3b28a4db01f
Showing with 1 addition and 7 deletions.
  1. +1 −7 arch/arc/include/asm/mmu_context.h
@@ -198,13 +198,7 @@ activate_mm (struct mm_struct *prev, struct mm_struct *next)
get_new_mmu_context(next, 0);
#ifdef CONFIG_ARC_MMU_SASID
- {
- unsigned int tsk_sasids;
-
- if ((tsk_sasids = is_any_mmapcode_task_subscribed(next))) {
- write_new_aux_reg(ARC_REG_SASID, tsk_sasids);
- }
- }
+ BUG_ON((is_any_mmapcode_task_subscribed(next)));
#endif
}

0 comments on commit e2d7a65

Please sign in to comment.