lkml.org 
[lkml]   [2006]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC PATCH 04/09] robust VM per_cpu main startup
    This patch disables the generic setup if __ARCH_HAS_VM_PERCPU defined.

    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

    Index: linux-2.6.16-test/init/main.c
    ===================================================================
    --- linux-2.6.16-test.orig/init/main.c 2006-05-17 04:32:28.000000000 -0400
    +++ linux-2.6.16-test/init/main.c 2006-05-17 04:57:45.000000000 -0400
    @@ -324,7 +324,7 @@ static inline void smp_prepare_cpus(unsi

    #else

    -#ifdef __GENERIC_PER_CPU
    +#if defined(__GENERIC_PER_CPU) && !defined(__ARCH_HAS_VM_PERCPU)
    unsigned long __per_cpu_offset[NR_CPUS];

    EXPORT_SYMBOL(__per_cpu_offset);
    -
    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: 2006-05-17 12:01    [W:0.021 / U:59.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site