diff options
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
-rw-r--r-- | arch/blackfin/kernel/setup.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index d3d37e7f465b..20d04a1bc861 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
@@ -88,6 +88,7 @@ void __init generate_cplb_tables(void) | |||
88 | { | 88 | { |
89 | unsigned int cpu; | 89 | unsigned int cpu; |
90 | 90 | ||
91 | generate_cplb_tables_all(); | ||
91 | /* Generate per-CPU I&D CPLB tables */ | 92 | /* Generate per-CPU I&D CPLB tables */ |
92 | for (cpu = 0; cpu < num_possible_cpus(); ++cpu) | 93 | for (cpu = 0; cpu < num_possible_cpus(); ++cpu) |
93 | generate_cplb_tables_cpu(cpu); | 94 | generate_cplb_tables_cpu(cpu); |
@@ -97,19 +98,11 @@ void __init generate_cplb_tables(void) | |||
97 | void __cpuinit bfin_setup_caches(unsigned int cpu) | 98 | void __cpuinit bfin_setup_caches(unsigned int cpu) |
98 | { | 99 | { |
99 | #ifdef CONFIG_BFIN_ICACHE | 100 | #ifdef CONFIG_BFIN_ICACHE |
100 | #ifdef CONFIG_MPU | ||
101 | bfin_icache_init(icplb_tbl[cpu]); | 101 | bfin_icache_init(icplb_tbl[cpu]); |
102 | #else | ||
103 | bfin_icache_init(icplb_tables[cpu]); | ||
104 | #endif | ||
105 | #endif | 102 | #endif |
106 | 103 | ||
107 | #ifdef CONFIG_BFIN_DCACHE | 104 | #ifdef CONFIG_BFIN_DCACHE |
108 | #ifdef CONFIG_MPU | ||
109 | bfin_dcache_init(dcplb_tbl[cpu]); | 105 | bfin_dcache_init(dcplb_tbl[cpu]); |
110 | #else | ||
111 | bfin_dcache_init(dcplb_tables[cpu]); | ||
112 | #endif | ||
113 | #endif | 106 | #endif |
114 | 107 | ||
115 | /* | 108 | /* |