linux/debian/patches/bugfix/m68k/630-extern-cleanup.diff

35 lines
920 B
Diff

To: linus, akpm
Cc: lkml
Subject: [PATCH] m68k: Kill superfluous externs
Kill a few superfluous extern declarations.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
arch/m68k/mm/motorola.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
--- linux-m68k-2.6.21.orig/arch/m68k/mm/motorola.c
+++ linux-m68k-2.6.21/arch/m68k/mm/motorola.c
@@ -47,7 +47,6 @@ EXPORT_SYMBOL(mm_cachebits);
#define INIT_MAPPED_SIZE (4UL<<20)
extern unsigned long availmem;
-extern struct mem_info m68k_ramdisk;
static pte_t * __init kernel_page_table(void)
{
@@ -211,11 +210,7 @@ void __init paging_init(void)
int i;
#ifdef DEBUG
- {
- extern unsigned long availmem;
- printk ("start of paging_init (%p, %lx)\n",
- kernel_pg_dir, availmem);
- }
+ printk ("start of paging_init (%p, %lx)\n", kernel_pg_dir, availmem);
#endif
/* Fix the cache mode in the page descriptors for the 680[46]0. */