linux-stable/arch/csky
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
..
abiv1 csky/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE 2023-02-02 22:33:06 -08:00
abiv2 csky/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE 2023-02-02 22:33:06 -08:00
boot csky: Remove unused $(dtb-y) from boot/Makefile 2022-05-13 14:45:09 +08:00
configs csky: Minimize defconfig to support buildroot config.fragment 2020-02-21 15:43:25 +08:00
include mm, arch: add generic implementation of pfn_valid() for FLATMEM 2023-02-09 16:51:41 -08:00
kernel arch/idle: Change arch_cpu_idle() behavior: always exit with IRQs disabled 2023-01-13 11:48:15 +01:00
lib csky: delay: Add function alignment 2022-12-29 23:47:52 -05:00
mm csky: fix up lock_mm_and_find_vma() conversion 2023-07-01 13:14:47 +02:00
Kbuild csky: Move $(core-y) into arch/csky/Kbuild 2022-05-13 15:09:28 +08:00
Kconfig mm/fault: convert remaining simple cases to lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Kconfig.platforms csky/Kconfig: Add Kconfig.platforms to support some drivers 2020-02-21 15:43:24 +08:00
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00