lkml.org 
[lkml]   [2002]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: compiling cmipci in 2.5.10 on Alpha doesn't work
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:22    [W:5.357 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site