public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Alpha-Nautilus compilation fix for 2.4.17rc2
@ 2001-12-20  3:24 Michal Jaegermann
  0 siblings, 0 replies; only message in thread
From: Michal Jaegermann @ 2001-12-20  3:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: Marcelo Tossati

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:

--- linux-2.4.17rc/arch/alpha/kernel/alpha_ksyms.c.orig	Tue Nov 20 16:49:31 2001
+++ linux-2.4.17rc/arch/alpha/kernel/alpha_ksyms.c	Wed Dec 19 19:21:02 2001
@@ -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
   michal@harddata.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-20  3:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-20  3:24 [PATCH] Alpha-Nautilus compilation fix for 2.4.17rc2 Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox