To: linus, akpm Cc: lkml Subject: [PATCH] M68k symbol exports M68k: Export missing symbols (from Matthias Urlichs) --- mac/config.c | 2 ++ mm/hwtest.c | 4 ++++ mm/motorola.c | 2 ++ 3 files changed, 8 insertions(+) --- linux-2.6.0/arch/m68k/mac/config.c Tue May 27 19:02:33 2003 +++ linux-m68k-2.6.0/arch/m68k/mac/config.c Mon Oct 20 21:54:14 2003 @@ -11,6 +11,7 @@ */ #include +#include #include #include #include @@ -267,6 +268,7 @@ */ struct mac_model *macintosh_config; +EXPORT_SYMBOL(macintosh_config); static struct mac_model mac_data_table[]= { --- linux-2.6.0/arch/m68k/mm/hwtest.c Sat Jun 13 22:14:33 1998 +++ linux-m68k-2.6.0/arch/m68k/mm/hwtest.c Mon Oct 20 21:54:14 2003 @@ -23,6 +23,8 @@ * a temporary VBR and a vector table for the duration of the test. */ +#include + int hwreg_present( volatile void *regp ) { int ret = 0; @@ -47,6 +49,7 @@ return( ret ); } +EXPORT_SYMBOL(hwreg_present); /* Basically the same, but writes a value into a word register, protected * by a bus error handler. Returns 1 if successful, 0 otherwise. @@ -78,4 +81,5 @@ return( ret ); } +EXPORT_SYMBOL(hwreg_write); --- linux-2.6.0/arch/m68k/mm/motorola.c Tue Jul 29 18:18:35 2003 +++ linux-m68k-2.6.0/arch/m68k/mm/motorola.c Mon Oct 20 21:54:14 2003 @@ -9,6 +9,7 @@ */ #include +#include #include #include #include @@ -40,6 +41,7 @@ * For 68040, this is _PAGE_CACHE040 (cachable, copyback) */ unsigned long mm_cachebits = 0; +EXPORT_SYMBOL(mm_cachebits); #endif static pte_t * __init kernel_page_table(void)