lkml.org 
[lkml]   [2004]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.5-mm2 (build error in arch/ia64/kernel/setup.c)
    I get a build error in arch/ia64/kernel/setup.c.

    This patch fixes it for SN2 machines, but I don't claim it is Correct.
    In fact, I think it is Wrong.

    There have been changes to setup_arch(), including, apparently, the
    elimination of the cmdline_p argument. Unforunately, that argument
    was not completely purged from the function.

    platform_setup on SN2 is #define'd to sn_setup, which still takes
    the argument, but does not use it. So this hack works. I don't
    know about the other IA64s.

    I'm not sure exactly what was intended with these changes, so I
    haven't attempted a Correct patch.

    jeremy

    --- arch/ia64/kernel/setup.c.old 2004-04-07 02:00:01.000000000 -0700
    +++ arch/ia64/kernel/setup.c 2004-04-07 01:37:15.000000000 -0700
    @@ -361,7 +361,7 @@
    /* enable IA-64 Machine Check Abort Handling */
    ia64_mca_init();

    - platform_setup(cmdline_p);
    + platform_setup((void *) 0);
    paging_init();
    }

    -
    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 14:02    [W:0.023 / U:29.508 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site