[PATCH 350] M68k symbol exports

From: Geert Uytterhoeven
Date: Thu Jan 01 2004 - 15:21:17 EST


M68k: Export missing symbols (from Matthias Urlichs)

--- 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 <linux/config.h>
+#include <linux/module.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/tty.h>
@@ -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 <linux/module.h>
+
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 <linux/config.h>
+#include <linux/module.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/mm.h>
@@ -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)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/