lkml.org 
[lkml]   [2010]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/6] xen/hybrid: The entrance for Hybrid
    Date
    xen_hybrid_init() would setup Hybrid environment.

    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Sheng Yang <sheng@linux.intel.com>
    ---
    arch/x86/kernel/setup.c | 8 ++++++++
    1 files changed, 8 insertions(+), 0 deletions(-)

    diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
    index f7b8b98..db82295 100644
    --- a/arch/x86/kernel/setup.c
    +++ b/arch/x86/kernel/setup.c
    @@ -113,6 +113,10 @@
    #endif
    #include <asm/mce.h>

    +#ifdef CONFIG_XEN
    +#include <xen/xen.h>
    +#endif
    +
    /*
    * end_pfn only includes RAM, while max_pfn_mapped includes all e820 entries.
    * The direct mapping extends to max_pfn_mapped, so that we can directly access
    @@ -732,6 +736,10 @@ void __init setup_arch(char **cmdline_p)

    x86_init.oem.arch_setup();

    +#ifdef CONFIG_XEN
    + xen_hybrid_init();
    +#endif
    +
    setup_memory_map();
    parse_setup_data();
    /* update the e820_saved too */
    --
    1.5.4.5


    \
     
     \ /
      Last update: 2010-02-02 09:23    [W:0.040 / U:0.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site