linux-stable/arch
Linus Torvalds 8edb3b20fe csky: fix up lock_mm_and_find_vma() conversion
commit e55e5df193 upstream.

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: a050ba1e74 ("mm/fault: convert remaining simple cases to lock_mm_and_find_vma()")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-01 13:14:47 +02:00
..
alpha mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
arc mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
arm arm/mm: Convert to using lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
arm64 arm64/mm: Convert to using lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
csky csky: fix up lock_mm_and_find_vma() conversion 2023-07-01 13:14:47 +02:00
hexagon mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
ia64 mm: always expand the stack with the mmap write lock held 2023-07-01 13:14:46 +02:00
loongarch mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
m68k mm: always expand the stack with the mmap write lock held 2023-07-01 13:14:46 +02:00
microblaze mm: always expand the stack with the mmap write lock held 2023-07-01 13:14:46 +02:00
mips mips/mm: Convert to using lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
nios2 mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
openrisc mm: always expand the stack with the mmap write lock held 2023-07-01 13:14:46 +02:00
parisc parisc: fix expand_stack() conversion 2023-07-01 13:14:47 +02:00
powerpc powerpc/mm: convert coprocessor fault to lock_mm_and_find_vma() 2023-07-01 13:14:46 +02:00
riscv riscv/mm: Convert to using lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
s390 mm: always expand the stack with the mmap write lock held 2023-07-01 13:14:46 +02:00
sh mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
sparc sparc32: fix lock_mm_and_find_vma() conversion 2023-07-01 13:14:47 +02:00
um mm: always expand the stack with the mmap write lock held 2023-07-01 13:14:46 +02:00
x86 mm: introduce new 'lock_mm_and_find_vma()' page fault helper 2023-07-01 13:14:44 +02:00
xtensa mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
.gitignore
Kconfig arch/Kconfig: fix indentation 2023-02-09 17:03:20 -08:00