Revert "MIPS: Delete unused function add_temporary_entry."
authorRafał Miłecki <zajec5@gmail.com>
Thu, 17 Jul 2014 21:26:32 +0000 (23:26 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 21:27:02 +0000 (23:27 +0200)
commitd377732c8c9aac14ccb900b65678558b0fb8f0f3
tree206fcaf65a47440f47b68cbe20a0182310422846
parent9194b3431616567ffbf69ef970506d695912be0b
Revert "MIPS: Delete unused function add_temporary_entry."

This reverts commit d7a887a73dec6c387b02a966a71aac767bbd9ce6.

Function add_temporary_entry is needed by bcm47xx to support highmem. We
need to add a temporary entry to check for amount of RAM.
The only change made in this revert was replacing (ENTER|EXIT)_CRITICAL.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: https://patchwork.linux-mips.org/patch/7395/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/pgtable-32.h
arch/mips/mm/tlb-r4k.c