sparc32: remove calls to sun4c dummy mm inits functions
[firefly-linux-kernel-4.4.55.git] / arch / sparc / mm / init_32.c
index c5f9021b1a01fb7c5c6c6c1ce61563190590273a..15848e7ea049b4d0d5f3a9fcf3e307addd7a3323 100644 (file)
@@ -308,7 +308,6 @@ void check_pgt_cache(void)
  * init routine based upon the Sun model type on the Sparc.
  *
  */
-extern void sun4c_paging_init(void);
 extern void srmmu_paging_init(void);
 extern void device_scan(void);
 
@@ -318,13 +317,6 @@ EXPORT_SYMBOL(PAGE_SHARED);
 void __init paging_init(void)
 {
        switch(sparc_cpu_model) {
-       case sun4c:
-       case sun4e:
-       case sun4:
-               sun4c_paging_init();
-               sparc_unmapped_base = 0xe0000000;
-               BTFIXUPSET_SETHI(sparc_unmapped_base, 0xe0000000);
-               break;
        case sparc_leon:
                leon_init();
                /* fall through */