lkml.org 
[lkml]   [2012]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 10/16] mm/powerpc: use vm_flags_t for vma flags
    From
    Date
    Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: linuxppc-dev@lists.ozlabs.org
    ---
    arch/powerpc/include/asm/mman.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/powerpc/include/asm/mman.h b/arch/powerpc/include/asm/mman.h
    index d4a7f64..451de1c 100644
    --- a/arch/powerpc/include/asm/mman.h
    +++ b/arch/powerpc/include/asm/mman.h
    @@ -44,7 +44,7 @@ static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot)
    }
    #define arch_calc_vm_prot_bits(prot) arch_calc_vm_prot_bits(prot)

    -static inline pgprot_t arch_vm_get_page_prot(unsigned long vm_flags)
    +static inline pgprot_t arch_vm_get_page_prot(vm_flags_t vm_flags)
    {
    return (vm_flags & VM_SAO) ? __pgprot(_PAGE_SAO) : __pgprot(0);
    }


    \
     
     \ /
      Last update: 2012-03-21 07:59    [W:0.020 / U:29.652 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site