mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 20:33:49 -04:00
powerpc: Remove stale declarations in mmu_decl.h
rtas_size and rtas_data are not used anymore since at least commit7c8c6b9776("powerpc: Merge lmb.c and make MM initialization use it.") Remove them. Since commit4b74a35fc7("powerpc/32s: Make Hash var static") the forward declaration of struct hash_pte is unneeded. Remove it. __initial_memory_limit_addr was removed by commite63075a3c9("memblock: Introduce default allocation limit and use it to replace explicit ones") Remove the declaration. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/a821e8397dd56b8177ecc04966d3b3a7c4bda6d4.1660919016.git.christophe.leroy@csgroup.eu
This commit is contained in:
committed by
Michael Ellerman
parent
9e1b45fdf2
commit
e38cd72c17
@@ -7,7 +7,6 @@
|
||||
#ifndef __ASSEMBLY__
|
||||
extern void ppc_printk_progress(char *s, unsigned short hex);
|
||||
|
||||
extern unsigned int rtas_data;
|
||||
extern unsigned long long memory_limit;
|
||||
extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask);
|
||||
|
||||
|
||||
@@ -92,15 +92,11 @@ extern void mapin_ram(void);
|
||||
extern void setbat(int index, unsigned long virt, phys_addr_t phys,
|
||||
unsigned int size, pgprot_t prot);
|
||||
|
||||
extern unsigned int rtas_data, rtas_size;
|
||||
|
||||
struct hash_pte;
|
||||
extern u8 early_hash[];
|
||||
|
||||
#endif /* CONFIG_PPC32 */
|
||||
|
||||
extern unsigned long __max_low_memory;
|
||||
extern phys_addr_t __initial_memory_limit_addr;
|
||||
extern phys_addr_t total_memory;
|
||||
extern phys_addr_t total_lowmem;
|
||||
extern phys_addr_t memstart_addr;
|
||||
|
||||
Reference in New Issue
Block a user