lkml.org 
[lkml]   [2008]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/6] x86: Add CONFIG_EFI
    Date
    FIX_EFI_IO_MAP_FIRST_PAGE is used only when EFI is enabled.

    Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
    Acked-by: Glauber Costa <gcosta@redhat.com>
    ---
    arch/x86/include/asm/fixmap_64.h | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/arch/x86/include/asm/fixmap_64.h b/arch/x86/include/asm/fixmap_64.h
    index 8a328fc..5dc7941 100644
    --- a/arch/x86/include/asm/fixmap_64.h
    +++ b/arch/x86/include/asm/fixmap_64.h
    @@ -47,9 +47,11 @@ enum fixed_addresses {
    FIX_IO_APIC_BASE_0,
    FIX_IO_APIC_BASE_END = FIX_IO_APIC_BASE_0 + MAX_IO_APICS - 1,
    #endif
    +#ifdef CONFIG_EFI
    FIX_EFI_IO_MAP_LAST_PAGE,
    FIX_EFI_IO_MAP_FIRST_PAGE = FIX_EFI_IO_MAP_LAST_PAGE
    + MAX_EFI_IO_PAGES - 1,
    +#endif
    #ifdef CONFIG_PARAVIRT
    FIX_PARAVIRT_BOOTMAP,
    #endif
    --
    1.5.6.4


    \
     
     \ /
      Last update: 2008-11-02 03:29    [W:0.020 / U:62.732 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site