Re: compiling cmipci in 2.5.10 on Alpha doesn't work

From: Jurriaan on Alpha (thunder7@xs4all.nl)
Date: Fri Apr 26 2002 - 02:44:16 EST


From: Jurriaan on Alpha <thunder7@xs4all.nl>
Date: Fri, Apr 26, 2002 at 09:31:30AM +0200
> I tried to compile 2.5.10 on my Alpha, but the cmipci module won't
> compile:
>
> cmipci.c:2479: warning: implicit declaration of function `release_resource'

Just found out that this trivial patch remedies it:

--- driver.org Fri Apr 26 09:42:31 2002
+++ driver.h Fri Apr 26 09:37:04 2002
@@ -50,7 +50,7 @@
  */

 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)
-#if defined(__i386__) || defined(__ppc__)
+#if defined(__i386__) || defined(__ppc__) || defined(__alpha__)
 /*
  * Here a dirty hack for 2.4 kernels.. See kernel/memory.c.
  */

As for the why of this, or if it's the best way to solve it, I've no
idea :-)

Jurriaan

-- 
"I resent it as well," said Scharde. "I am working to keep my rage under
control."
        Jack Vance - Ecce and Old Earth
GNU/Linux 2.4.19p7 on Debian/Alpha 990 bogomips load:0.33 0.62 0.54
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:12 EST