From: James S. <jsi...@us...> - 2001-11-19 17:41:27
|
Update of /cvsroot/linux-mips/linux/arch/mips/mm In directory usw-pr-cvs1:/tmp/cvs-serv25066 Modified Files: pg-sb1.c Log Message: Include <asm/page.h> for PAGE_SIZE. Export page_clear / copy_page. Index: pg-sb1.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/mm/pg-sb1.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pg-sb1.c 2001/11/07 17:29:03 1.2 +++ pg-sb1.c 2001/11/19 17:41:24 1.3 @@ -21,6 +21,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <linux/config.h> +#include <asm/page.h> #ifdef CONFIG_SB1_PASS_1_WORKAROUNDS #define SB1_PREF_LOAD_STREAMED_HINT "0" @@ -31,7 +32,7 @@ #endif /* These are the functions hooked by the memory management function pointers */ -static void sb1_clear_page(void *page) +void sb1_clear_page(void *page) { /* JDCXXX - This should be bottlenecked by the write buffer, but these things tend to be mildly unpredictable...should check this on the @@ -65,7 +66,7 @@ } -static void sb1_copy_page(void *to, void *from) +void sb1_copy_page(void *to, void *from) { /* This should be optimized in assembly...can't use ld/sd, though, |