Re: [PATCH 1/3] x86: clean up asm-x86/page*.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ingo Molnar wrote:
> * Jeremy Fitzhardinge <[email protected]> wrote:
>
>   
>> Unify common definitions in page*.h.  To simplify other code, I added 
>> typedefs for the value of pte/pmd/pud/pgd values, so they can be used 
>> symbolically elsewhere without needing to have lots of 32/64/PAE 
>> tests.
>>
>> Also, add PAGETABLE_LEVELS define so that other definitions can test 
>> for it directly rather than using indirect 32/64/PAE tests.
>>
>> Signed-off-by: Jeremy Fitzhardinge <[email protected]>
>>     
>
> hm, your patches dont build. This is the error i get:
>
>  include/asm-generic/pgtable-nopmd.h:46:1: warning: this is the location of the previous definition
>  In file included from include/asm/pgtable_32.h:86,
>                  from include/asm/pgtable.h:131,
>                  from include/linux/mm.h:39,
>                  from include/linux/suspend.h:12,
>                  from arch/x86/kernel/asm-offsets_32.c:12,
>                  from arch/x86/kernel/asm-offsets.c:3:
>  include/asm/pgtable-2level.h:55: error: redefinition of 'native_pte_clear'
>  include/asm/pgtable-2level.h:43: error: previous definition of 'native_pte_clear' was here
>   

I can't reproduce that specific compile error, but I found & fixed a
couple of problems with your config.

BTW, I'm having a workflow problem using git to fetch your tree.  When I do:

    $ git-pull git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git mm
    remote: Generating pack...
    remote: Done counting 3454 objects.
    Result has 2947 objects.
    remote: Deltifying 2947 objects...
    remote:  100% (2947/2947) done
    Indexing 2947 objects...
    remote: Total 2947 (delta 2559), reused 2432 (delta 2066)
     100% (2947/2947) done
    Resolving 2559 deltas...
     100% (2559/2559) done
    458 objects were added to complete this thin pack.
    Renamed arch/x86/crypto/twofish_64.c->arch/x86/crypto/twofish.c
    Auto-merged arch/x86/crypto/twofish.c
    Renamed arch/x86/ia32/vsyscall-syscall.S->arch/x86/vdso/vdso32/syscall.S
    Auto-merged arch/x86/vdso/vdso32/syscall.S
    Renamed arch/x86/kernel/ldt_32.c->arch/x86/kernel/ldt.c
    Auto-merged arch/x86/kernel/ldt.c
    CONFLICT (content): merge conflict in arch/x86/kernel/ldt.c
    Renamed arch/x86/kernel/sysenter_32.c->arch/x86/vdso/vdso32-setup.c
    Auto-merged arch/x86/vdso/vdso32-setup.c
    Renamed arch/x86/kernel/vsyscall-int80_32.S->arch/x86/vdso/vdso32/int80.S
    Auto-merged arch/x86/vdso/vdso32/int80.S
    ...
      

I haven't made any local changes and I don't want to merge anything - I
just want to get an up to date copy of your tree.  What am I missing
here?  I end up having to ssh into master.kernel.org, look at
linux-2.6-x86.git/refs/heads/mm and then do "git reset --hard XXX" from
that, which doesn't seem like the right answer...

Thanks,
    J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux