Commit 91cf248396d18989f5f4090497723f4f90c8971f

Authored by Geert Uytterhoeven
Committed by Linus Torvalds
1 parent 3f20a4ef57

m68k: export m68k_mmutype

UIO needs m68k_mmutype:

ERROR: "m68k_mmutype" [drivers/uio/uio.ko] undefined!

(noticed by Christian T. Steigies)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 2 changed files with 3 additions and 2 deletions Side-by-side Diff

arch/m68k/kernel/setup.c
... ... @@ -41,11 +41,12 @@
41 41 #endif
42 42  
43 43 unsigned long m68k_machtype;
44   -unsigned long m68k_cputype;
45 44 EXPORT_SYMBOL(m68k_machtype);
  45 +unsigned long m68k_cputype;
46 46 EXPORT_SYMBOL(m68k_cputype);
47 47 unsigned long m68k_fputype;
48 48 unsigned long m68k_mmutype;
  49 +EXPORT_SYMBOL(m68k_mmutype);
49 50 #ifdef CONFIG_VME
50 51 unsigned long vme_brdtype;
51 52 EXPORT_SYMBOL(vme_brdtype);
include/asm-m68k/setup.h
... ... @@ -248,7 +248,7 @@
248 248 #ifndef __ASSEMBLY__
249 249 extern unsigned long m68k_cputype;
250 250 extern unsigned long m68k_fputype;
251   -extern unsigned long m68k_mmutype; /* Not really used yet */
  251 +extern unsigned long m68k_mmutype;
252 252 #ifdef CONFIG_VME
253 253 extern unsigned long vme_brdtype;
254 254 #endif