]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Add missing prototypes to asm/page.h
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Tue, 15 Jul 2008 16:57:32 +0000 (19:57 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 20 Jul 2008 13:38:17 +0000 (14:38 +0100)
This patch fixes the following sparse warnings:

>>>>>>>>>>>>>>>>>>
arch/mips/mm/page.c:284:16: warning: symbol
'build_clear_page' was not declared. Should it be static?

arch/mips/mm/page.c:426:16: warning: symbol 'build_copy_page'
was not declared. Should it be static?
>>>>>>>>>>>>>>>>>>

The fix is to add appropriate prototypes to the header
include/asm-mips/page.h.

Build-tested against Malta defconfig.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/page.h

index 8735aa0b89630987f9d7341efa88e13a4bf9eb7a..494f00ba9541f6b3cefb4a43e97d990b244182ef 100644 (file)
@@ -34,6 +34,9 @@
 #include <linux/pfn.h>
 #include <asm/io.h>
 
+extern void build_clear_page(void);
+extern void build_copy_page(void);
+
 /*
  * It's normally defined only for FLATMEM config but it's
  * used in our early mem init code for all memory models.