File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -155,10 +155,8 @@ __after_mmu_off:
155
155
156
156
bl initial_bats
157
157
bl load_segment_registers
158
- BEGIN_MMU_FTR_SECTION
159
158
bl reloc_offset
160
159
bl early_hash_table
161
- END_MMU_FTR_SECTION_IFSET(MMU_FTR_HPTE_TABLE)
162
160
#if defined(CONFIG_BOOTX_TEXT)
163
161
bl setup_disp_bat
164
162
#endif
@@ -922,9 +920,6 @@ early_hash_table:
922
920
lis r6, early_hash - PAGE_OFFSET@h
923
921
ori r6, r6, 3 /* 256kB table */
924
922
mtspr SPRN_SDR1, r6
925
- lis r6, early_hash@h
926
- addis r3, r3, Hash@ha
927
- stw r6, Hash@l(r3)
928
923
blr
929
924
930
925
load_up_mmu:
Original file line number Diff line number Diff line change 33
33
34
34
u8 __initdata early_hash [SZ_256K ] __aligned (SZ_256K ) = {0 };
35
35
36
- struct hash_pte * Hash ;
36
+ static struct hash_pte * Hash = ( struct hash_pte * ) early_hash ;
37
37
static unsigned long Hash_size , Hash_mask ;
38
38
unsigned long _SDR1 ;
39
39
static unsigned int hash_mb , hash_mb2 ;
Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ extern int __map_without_bats;
99
99
extern unsigned int rtas_data , rtas_size ;
100
100
101
101
struct hash_pte ;
102
- extern struct hash_pte * Hash ;
103
102
extern u8 early_hash [];
104
103
105
104
#endif /* CONFIG_PPC32 */
You can’t perform that action at this time.
0 commit comments