lkml.org 
[lkml]   [2008]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] x86: setup_arch 64bit move kvmclock_init later
    Date


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

    ---
    arch/x86/kernel/setup_32.c | 32 ++++++++++++++++++--------------
    arch/x86/kernel/setup_64.c | 14 +++++++-------
    2 files changed, 25 insertions(+), 21 deletions(-)

    Index: linux-2.6/arch/x86/kernel/setup_64.c
    ===================================================================
    --- linux-2.6.orig/arch/x86/kernel/setup_64.c
    +++ linux-2.6/arch/x86/kernel/setup_64.c
    @@ -296,10 +296,6 @@ void __init setup_arch(char **cmdline_p)

    io_delay_init();

    -#ifdef CONFIG_KVM_CLOCK
    - kvmclock_init();
    -#endif
    -
    /*
    * Initialize the ACPI boot-time table parser (gets the RSDP and SDT).
    * Call this early for SRAT node setup.
    @@ -342,6 +338,9 @@ void __init setup_arch(char **cmdline_p)

    reserve_ibft_region();

    +#ifdef CONFIG_KVM_CLOCK
    + kvmclock_init();
    +#endif
    paging_init();
    map_vsyscall();


    \
     
     \ /
      Last update: 2008-06-24 04:57    [W:0.023 / U:63.444 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site