Files
android_kernel_xiaomi_sm8450/arch/mips/mm
Paul Burton f7908a007e MIPS: mm: Remove redundant preempt_disable in local_flush_tlb_mm()
The r4k variant of local_flush_tlb_mm() wraps its call to
drop_mmu_context() with a preempt_disable() & preempt_enable() pair, but
this is redundant since drop_mmu_context() disables interrupts and from
Documentation/preempt-locking.txt:

  Note that you do not need to explicitly prevent preemption if you are
  holding any locks or interrupts are disabled, since preemption is
  implicitly disabled in those cases.

Remove the redundant preempt_disable() & preempt_enable() calls.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
2019-02-04 10:56:22 -08:00
..
2018-12-05 14:46:44 -08:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2018-10-31 08:54:16 -07:00
2018-07-05 14:43:21 -07:00
2018-07-27 15:19:59 -07:00
2017-02-02 15:06:26 +00:00
2018-12-03 13:42:38 -08:00