aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/bugfix/m68k/630-extern-cleanup.diff
blob: 823760ceeb7f147c88577c4daa7e04cd843e5702 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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.  */