lkml.org 
[lkml]   [2012]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/5] XEN: Remove the base argument from x86_init.paging.pagetable_setup_start PVOPS
    On Tue, 21 Aug 2012, Attilio Rao wrote:
    > diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
    > index 1019156..7999cef 100644
    > --- a/arch/x86/mm/init_32.c
    > +++ b/arch/x86/mm/init_32.c
    > @@ -445,14 +445,17 @@ static inline void permanent_kmaps_init(pgd_t *pgd_base)
    > }
    > #endif /* CONFIG_HIGHMEM */
    >
    > -void __init native_pagetable_setup_start(pgd_t *base)
    > +void __init native_pagetable_setup_start(void)
    > {
    > unsigned long pfn, va;
    > + pgd_t *base;
    > pgd_t *pgd;

    pgd_t *pgd, *base = swapper_pg_dir;

    Please. No need to add 5 lines just for this.

    Thanks,

    tglx




    \
     
     \ /
      Last update: 2012-08-21 18:41    [W:0.044 / U:119.004 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site