lkml.org 
[lkml]   [2008]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 14/16] x86: make x86_find_smp_config depends on 64 bit too
    Date


    Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>

    ---
    arch/x86/Kconfig | 1 -
    arch/x86/kernel/setup.c | 3 +--
    2 files changed, 1 insertion(+), 3 deletions(-)

    Index: linux-2.6/arch/x86/Kconfig
    ===================================================================
    --- linux-2.6.orig/arch/x86/Kconfig
    +++ linux-2.6/arch/x86/Kconfig
    @@ -236,7 +236,6 @@ config SMP
    config X86_FIND_SMP_CONFIG
    def_bool y
    depends on X86_MPPARSE || X86_VOYAGER || X86_VISWS
    - depends on X86_32

    if ACPI
    config X86_MPPARSE
    Index: linux-2.6/arch/x86/kernel/setup.c
    ===================================================================
    --- linux-2.6.orig/arch/x86/kernel/setup.c
    +++ linux-2.6/arch/x86/kernel/setup.c
    @@ -713,8 +713,7 @@ void __init setup_arch(char **cmdline_p)
    */
    acpi_reserve_bootmem();
    #endif
    -#if defined(CONFIG_X86_FIND_SMP_CONFIG) && defined(CONFIG_X86_32) || \
    - defined(CONFIG_X86_MPPARSE) && defined(CONFIG_X86_64)
    +#ifdef CONFIG_X86_FIND_SMP_CONFIG
    /*
    * Find and reserve possible boot-time SMP configuration:
    */

    \
     
     \ /
      Last update: 2008-06-26 03:09    [W:3.697 / U:0.472 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site