+12
−15
Loading
mainline inclusion from mainline-v6.9-rc1 commit e5db6a74571a8baf87a116ea39aab946283362ff category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9E2GP CVE: CVE-2024-26706 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e5db6a74571a8baf87a116ea39aab946283362ff -------------------------------- Convert to use real temp variables instead of clobbering processor registers. This aligns the 64-bit inline assembly code with the 32-bit assembly code which was rewritten with commit 427c1073 ("parisc/unaligned: Rewrite 32-bit inline assembly of emulate_ldd()"). While at it, fix comment in 32-bit rewrite code. Temporary variables are now used for both 32-bit and 64-bit code, so move their declarations to the function header. No functional change intended. Signed-off-by:Guenter Roeck <linux@roeck-us.net> Cc: stable@vger.kernel.org # v6.0+ Signed-off-by:
Helge Deller <deller@gmx.de> Signed-off-by:
Cheng Yu <serein.chengyu@huawei.com> (cherry picked from commit a926527b)