diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-07-15 12:57:32 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-20 09:38:17 -0400 |
commit | c29d150305f7f655b7002cc31754c605e5c0d1a0 (patch) | |
tree | 6ab9057ad33be5f15b4e6d282cb808edbb2f695c /include/asm-mips/page.h | |
parent | f028b8605613ade67fda554e30d367911d6c7222 (diff) |
[MIPS] Add missing prototypes to asm/page.h
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>
Diffstat (limited to 'include/asm-mips/page.h')
-rw-r--r-- | include/asm-mips/page.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-mips/page.h b/include/asm-mips/page.h index 8735aa0b8963..494f00ba9541 100644 --- a/include/asm-mips/page.h +++ b/include/asm-mips/page.h | |||
@@ -34,6 +34,9 @@ | |||
34 | #include <linux/pfn.h> | 34 | #include <linux/pfn.h> |
35 | #include <asm/io.h> | 35 | #include <asm/io.h> |
36 | 36 | ||
37 | extern void build_clear_page(void); | ||
38 | extern void build_copy_page(void); | ||
39 | |||
37 | /* | 40 | /* |
38 | * It's normally defined only for FLATMEM config but it's | 41 | * It's normally defined only for FLATMEM config but it's |
39 | * used in our early mem init code for all memory models. | 42 | * used in our early mem init code for all memory models. |