lkml.org 
[lkml]   [2004]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] cpu hotplug fix

    start_cpu_timer was changed to __init a few hours before the cpu hotplug
    patches went in. With cpu hotplug it can be called at any time, so fix
    this.

    Anton

    ===== slab.c 1.125 vs edited =====
    --- 1.125/mm/slab.c Wed Mar 17 13:10:10 2004
    +++ edited/slab.c Sat Mar 20 17:34:57 2004
    @@ -576,7 +576,7 @@
    * Add the CPU number into the expiry time to minimize the possibility of the
    * CPUs getting into lockstep and contending for the global cache chain lock.
    */
    -static void __init start_cpu_timer(int cpu)
    +static void start_cpu_timer(int cpu)
    {
    struct timer_list *rt = &per_cpu(reap_timers, cpu);

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