lkml.org 
[lkml]   [2003]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: Linux 2.4.21-pre7
    Kaj-Michael Lang writes:
    > > So here goes -pre7. Hopefully the last -pre.
    > >
    > Won't compile for my PPC:
    > ---
    > -o vmlinux
    > drivers/ide/idedriver.o(.text+0x1a544): In function `pmac_outbsync':
    > : undefined reference to `io_flush'
    > drivers/ide/idedriver.o(.text+0x1a544): In function `pmac_outbsync':
    > : relocation truncated to fit: R_PPC_REL24 io_flush

    Someone updated pmac.c without testing it: io_flush() doesn't exist
    in 2.4.21-pre. Based on the diff from -pre6 to -pre7, I'd say the
    following is a reasonable approximation. My PM4400 runs with this
    patch right now.

    /Mikael

    --- linux-2.4.21-pre7/drivers/ide/ppc/pmac.c.~1~ Wed Apr 9 10:33:30 2003
    +++ linux-2.4.21-pre7/drivers/ide/ppc/pmac.c Wed Apr 9 11:37:16 2003
    @@ -50,6 +50,8 @@
    #undef IDE_PMAC_DEBUG
    #define DMA_WAIT_TIMEOUT 500

    +#define io_flush(x) (void)(x)
    +
    typedef struct pmac_ide_hwif {
    ide_ioreg_t regbase;
    unsigned long mapbase;
    -
    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:34    [W:0.019 / U:31.528 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site