HACK: partial revert of static identity_mapping_add
Dan Willemsen [Thu, 22 Mar 2012 04:50:16 +0000 (21:50 -0700)]
commit 4e8ee7de227e3ab9a72040b448ad728c5428a042

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

arch/arm/include/asm/idmap.h
arch/arm/mm/idmap.c

index bf863ed..ba7f962 100644 (file)
@@ -9,6 +9,8 @@
 
 extern pgd_t *idmap_pgd;
 
+void identity_mapping_add(pgd_t *, unsigned long, unsigned long);
+
 void setup_mm_for_reboot(void);
 
 #endif /* __ASM_IDMAP_H */
index feacf4c..5474bca 100644 (file)
@@ -58,7 +58,7 @@ static void idmap_add_pud(pgd_t *pgd, unsigned long addr, unsigned long end,
        } while (pud++, addr = next, addr != end);
 }
 
-static void identity_mapping_add(pgd_t *pgd, unsigned long addr, unsigned long end)
+void identity_mapping_add(pgd_t *pgd, unsigned long addr, unsigned long end)
 {
        unsigned long prot, next;