Revert "UPSTREAM: ARM: Remove current_mm per-cpu variable"
authorOlof Johansson <olofj@chromium.org>
Fri, 5 Apr 2013 17:08:36 +0000 (10:08 -0700)
committerChromeBot <chrome-bot@google.com>
Wed, 10 Apr 2013 07:02:05 +0000 (00:02 -0700)
commit86ff9b86a999cc92a62b81a814ce3f086863bc97
tree3a3416eafc4693cdb582a2251762d732f383e807
parentc94260f2d621546ddca561b5bc4815ae70e955a3
Revert "UPSTREAM: ARM: Remove current_mm per-cpu variable"

This originally removed some not-needed code, but the recent A15 errata
workaround actually needs current_mm still around. So for bring this
code back for that reason.

This reverts commit 696cfa01f12ec85ac7122eb57d77c8598f79ff71.

BUG=chromium:226280
TEST=build kernel for daisy

Change-Id: Ie44c6bfea7137ca185eb568f9047bca39f3e1b5c
Signed-off-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47426
Reviewed-by: Doug Anderson <dianders@chromium.org>
arch/arm/include/asm/mmu_context.h
arch/arm/mm/context.c