aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/idmap.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-01 06:15:27 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-11-10 17:30:28 -0500
commit5aafec15bdc54cf0722696c95091d7bd674bfcad (patch)
tree7d34a0872eb05dfe0258d21a82cb6b07d870f962 /arch/arm/mm/idmap.c
parentac15e00b1efe705b66a36d1a6a9db7f6ed524c43 (diff)
ARM: restart: remove argument to setup_mm_for_reboot()
setup_mm_for_reboot() doesn't make use of its argument, so remove it. Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/idmap.c')
-rw-r--r--arch/arm/mm/idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/idmap.c b/arch/arm/mm/idmap.c
index 2be9139a4ef3..296ad2eaddb0 100644
--- a/arch/arm/mm/idmap.c
+++ b/arch/arm/mm/idmap.c
@@ -78,7 +78,7 @@ void identity_mapping_del(pgd_t *pgd, unsigned long addr, unsigned long end)
78 * the user-mode pages. This will then ensure that we have predictable 78 * the user-mode pages. This will then ensure that we have predictable
79 * results when turning the mmu off 79 * results when turning the mmu off
80 */ 80 */
81void setup_mm_for_reboot(char mode) 81void setup_mm_for_reboot(void)
82{ 82{
83 /* 83 /*
84 * We need to access to user-mode page tables here. For kernel threads 84 * We need to access to user-mode page tables here. For kernel threads