• Linus Torvalds's avatar
    csky: fix up lock_mm_and_find_vma() conversion · e55e5df1
    Linus Torvalds authored
    As already mentioned in my merge message for the 'expand-stack' branch,
    we have something like 24 different versions of the page fault path for
    all our different architectures, all just _slightly_ different due to
    various historical reasons (usually related to exactly when they
    branched off the original i386 version, and the details of the other
    architectures they had in their history).
    
    And a few of them had some silly mistake in the conversion.
    
    Most of the architectures call the faulting address 'address' in the
    fault path.  But not all.  Some just call it 'addr'.  And if you end up
    doing a bit too much copy-and-paste, you end up with the wrong version
    in the places that do it differently.
    
    In this case it was csky.
    
    Fixes: a050ba1e ("mm/fault: convert remaining simple cases to lock_mm_and_find_vma()")
    Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    e55e5df1
fault.c 6.62 KB