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 13/16] mm/parisc: use vm_flags_t for vma flags
    From
    Date
    Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
    Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
    Cc: Helge Deller <deller@gmx.de>
    Cc: linux-parisc@vger.kernel.org
    ---
    arch/parisc/mm/fault.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/arch/parisc/mm/fault.c b/arch/parisc/mm/fault.c
    index 18162ce..0d3680a 100644
    --- a/arch/parisc/mm/fault.c
    +++ b/arch/parisc/mm/fault.c
    @@ -49,7 +49,7 @@ DEFINE_PER_CPU(struct exception_data, exception_data);
    * VM_WRITE if write operation
    * VM_EXEC if execute operation
    */
    -static unsigned long
    +static vm_flags_t
    parisc_acctyp(unsigned long code, unsigned int inst)
    {
    if (code == 6 || code == 16)
    @@ -173,7 +173,7 @@ void do_page_fault(struct pt_regs *regs, unsigned long code,
    struct vm_area_struct *vma, *prev_vma;
    struct task_struct *tsk = current;
    struct mm_struct *mm = tsk->mm;
    - unsigned long acc_type;
    + vm_flags_t acc_type;
    int fault;

    if (in_atomic() || !mm)


    \
     
     \ /
      Last update: 2012-03-21 08:01    [W:0.023 / U:212.312 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site