]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fc52d0df6f5595b32a9228bf09599a4b6eb257b
tree206fcaf65a47440f47b68cbe20a0182310422846
parent47aff7fe03a19f6d7e46dfcd5037dc5dcf88798d
Revert "MIPS: Delete unused function add_temporary_entry."

This reverts commit 3ce531e53ae6133164e15c757c8c60fd7fdc01dd.

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