Skip to content

Commit e38cd72

Browse files
chleroympe
authored andcommitted
powerpc: Remove stale declarations in mmu_decl.h
rtas_size and rtas_data are not used anymore since at least commit 7c8c6b9 ("powerpc: Merge lmb.c and make MM initialization use it.") Remove them. Since commit 4b74a35 ("powerpc/32s: Make Hash var static") the forward declaration of struct hash_pte is unneeded. Remove it. __initial_memory_limit_addr was removed by commit e63075a ("memblock: Introduce default allocation limit and use it to replace explicit ones") Remove the declaration. Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/a821e8397dd56b8177ecc04966d3b3a7c4bda6d4.1660919016.git.christophe.leroy@csgroup.eu
1 parent 9e1b45f commit e38cd72

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

arch/powerpc/include/asm/setup.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#ifndef __ASSEMBLY__
88
extern void ppc_printk_progress(char *s, unsigned short hex);
99

10-
extern unsigned int rtas_data;
1110
extern unsigned long long memory_limit;
1211
extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask);
1312

arch/powerpc/mm/mmu_decl.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,11 @@ extern void mapin_ram(void);
9292
extern void setbat(int index, unsigned long virt, phys_addr_t phys,
9393
unsigned int size, pgprot_t prot);
9494

95-
extern unsigned int rtas_data, rtas_size;
96-
97-
struct hash_pte;
9895
extern u8 early_hash[];
9996

10097
#endif /* CONFIG_PPC32 */
10198

10299
extern unsigned long __max_low_memory;
103-
extern phys_addr_t __initial_memory_limit_addr;
104100
extern phys_addr_t total_memory;
105101
extern phys_addr_t total_lowmem;
106102
extern phys_addr_t memstart_addr;

0 commit comments

Comments
 (0)