Commit c31331be authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] m68k unused cruft removal

M68k: Remove obsolete cruft
parent 74bf528d
......@@ -16,9 +16,6 @@ SUN3_INVALID_PMEG = 255
.globl bootup_user_stack
.globl bootup_kernel_stack
.globl pg0
.globl empty_bad_page
.globl empty_bad_page_table
.globl empty_zero_page
.globl swapper_pg_dir
.globl kernel_pmd_table
.globl availmem
......@@ -27,10 +24,7 @@ SUN3_INVALID_PMEG = 255
| todo: all these should be in bss!
swapper_pg_dir: .skip 0x2000
pg0: .skip 0x2000
empty_bad_page: .skip 0x2000
empty_bad_page_table: .skip 0x2000
kernel_pmd_table: .skip 0x2000
empty_zero_page: .skip 0x2000
.globl kernel_pg_dir
.equ kernel_pg_dir,kernel_pmd_table
......
......@@ -196,9 +196,6 @@ map_chunk (unsigned long addr, long size)
return virtaddr;
}
extern unsigned long empty_bad_page_table;
extern unsigned long empty_bad_page;
/*
* paging_init() continues the virtual memory environment setup which
* was begun by the code in arch/head.S.
......
......@@ -33,8 +33,6 @@ extern void mmu_emu_init (unsigned long bootmem_end);
const char bad_pmd_string[] = "Bad pmd in pte_alloc: %08lx\n";
extern unsigned long empty_bad_page_table;
extern unsigned long empty_bad_page;
extern unsigned long num_pages;
void free_initmem(void)
......
......@@ -95,14 +95,4 @@ static inline pgd_t * pgd_alloc(struct mm_struct *mm)
#define pgd_populate(mm, pmd, pte) BUG()
/* Reserved PMEGs. */
extern char sun3_reserved_pmeg[SUN3_PMEGS_NUM];
extern unsigned long pmeg_vaddr[SUN3_PMEGS_NUM];
extern unsigned char pmeg_alloc[SUN3_PMEGS_NUM];
extern unsigned char pmeg_ctx[SUN3_PMEGS_NUM];
#define check_pgt_cache() do { } while (0)
#endif /* SUN3_PGALLOC_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment