From 3e53488a111af8b5c7fd854fa5868f404f95795e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 18 Jan 2004 18:33:05 -0800 Subject: [PATCH] [PATCH] M68k symbol exports From: Geert Uytterhoeven M68k: Export missing symbols (from Matthias Urlichs) --- arch/m68k/mac/config.c | 2 ++ arch/m68k/mm/hwtest.c | 4 ++++ arch/m68k/mm/motorola.c | 2 ++ 3 files changed, 8 insertions(+) diff --git a/arch/m68k/mac/config.c b/arch/m68k/mac/config.c index b478da2b8f1c4..1e98b1182caf3 100644 --- a/arch/m68k/mac/config.c +++ b/arch/m68k/mac/config.c @@ -11,6 +11,7 @@ */ #include +#include #include #include #include @@ -267,6 +268,7 @@ void __init config_mac(void) */ struct mac_model *macintosh_config; +EXPORT_SYMBOL(macintosh_config); static struct mac_model mac_data_table[]= { diff --git a/arch/m68k/mm/hwtest.c b/arch/m68k/mm/hwtest.c index 60ad5e812b362..196e68b7f9139 100644 --- a/arch/m68k/mm/hwtest.c +++ b/arch/m68k/mm/hwtest.c @@ -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 @@ int hwreg_present( volatile void *regp ) 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 @@ int hwreg_write( volatile void *regp, unsigned short val ) return( ret ); } +EXPORT_SYMBOL(hwreg_write); diff --git a/arch/m68k/mm/motorola.c b/arch/m68k/mm/motorola.c index 073fb2f6e2ca8..16200c81ef257 100644 --- a/arch/m68k/mm/motorola.c +++ b/arch/m68k/mm/motorola.c @@ -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) -- 2.53.0