Skip to contentSkip to conversation

Alpha-Nautilus compilation fix for 2.4.17rc2

PATCH New Michal Jaegermann 1 participant 1 message Dec 20, 2001 Alpha port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Alpha-Nautilus compilation fix for 2.4.17rc2

To compile 2.4.17rc2 sources on Alpha not "generic" but Nautilus-specic, or for any other Alpha type where Irongate chipset is used, the following obvious patch is required:

arch/alpha/kernel/alpha_ksyms.c renamed from arch/alpha/kernel/alpha_ksyms.c.orig +5 -0
@@ -258,3 +258,8 @@
 EXPORT_SYMBOL_NOVERS(memchr);
 
 EXPORT_SYMBOL(get_wchan);
+
+#ifdef CONFIG_ALPHA_IRONGATE
+EXPORT_SYMBOL(irongate_ioremap);
+EXPORT_SYMBOL(irongate_iounmap);
+#endif

Without it assorted modules will be really unhappy with depmod spilling "unresolved symbols".

Actually the same patch applies to at least 2.4.16 and possibly earlier kernels. With "generic" kernel configuration 'ioremap' and 'iounmap' are not redefined in headers to their "irongate" variants and problem does not occur.

Michal
[email protected]