- fix lseek in o32 compat mode

- fix for microMIPS MT ASE helpers
 -----BEGIN PGP SIGNATURE-----
 
 iQJOBAABCAA4FiEEbt46xwy6kEcDOXoUeZbBVTGwZHAFAmZ387EaHHRzYm9nZW5k
 QGFscGhhLmZyYW5rZW4uZGUACgkQeZbBVTGwZHBAURAAooSqNEQ15emnEYiAqirw
 TooHtapDJyZz6zjoWbEGNWtA+JRxixy4n0hzVWtZBzBt8q57Q65neFNRM8fgpJYt
 pEQBrcbXIv37uy0w27pwEwrS6TQAtnnuf4mYD/TltzSZZGoLIXr+r/0gXiv7Ajjo
 IfVXs5xhs/BZKVcTMWmwqW9VqbHE6UqLoDgtEb5D4D75ljt4K9tJwc0ZswzPqM3F
 VzH1QQhwcQB//xjq6rQ8rPNJRaPkDogaNQivLYEqDCoLo5PiRXxtzy690wyZM19H
 /lwSh80QfBUG9rHfJ9/jXzVRgChesJZl38Tdkc7IVCrJXfi4I2K7GtHvMjur6f7h
 tF9VJKYRr/jls4ojxQQJYK9fYC/Eeay0/F6RAK5gdAij3Y6aHejQZJZnkLdZc6Zm
 PKpJeywgDoTPyvZz+Sl0uHhXPFCI2oPP8Kg/ToIY1d8eATaEvn5ltSAaz4dasBdg
 2ypH3zgPUW3RFNV6gg4aRFij/gqPECRXqyyzjNDSPCXK8KXK616xedILLbqRS5xx
 p4UILrkHoMizTXJ+sLhWqbcmIwf4W44J3K1hsGTQms/+gBjNJzvtXsisqesNFiar
 frLRgYFAD/sXJcuVTt8AEGZR5+1qyFX9yzSF7ePFZO23uutmpdnUAbSGHoG0unEX
 TwGvBIGJevYE/Peixc3zbkM=
 =SraY
 -----END PGP SIGNATURE-----

Merge tag 'mips-fixes_6.10_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux

Pull MIPS fixes from Thomas Bogendoerfer:

 - fix lseek in o32 compat mode

 - fix for microMIPS MT ASE helpers

* tag 'mips-fixes_6.10_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
  mips: fix compat_sys_lseek syscall
  MIPS: mipsmtregs: Fix target register for MFTC0
This commit is contained in:
Linus Torvalds 2024-06-23 07:20:02 -07:00
commit b67eeff799
2 changed files with 2 additions and 2 deletions

View File

@ -322,7 +322,7 @@ static inline void ehb(void)
" .set push \n" \
" .set "MIPS_ISA_LEVEL" \n" \
_ASM_SET_MFTC0 \
" mftc0 $1, " #rt ", " #sel " \n" \
" mftc0 %0, " #rt ", " #sel " \n" \
_ASM_UNSET_MFTC0 \
" .set pop \n" \
: "=r" (__res)); \

View File

@ -27,7 +27,7 @@
17 o32 break sys_ni_syscall
# 18 was sys_stat
18 o32 unused18 sys_ni_syscall
19 o32 lseek sys_lseek
19 o32 lseek sys_lseek compat_sys_lseek
20 o32 getpid sys_getpid
21 o32 mount sys_mount
22 o32 umount sys_oldumount