]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: 9468/1: fix memset64() on big-endian
authorThomas Weissschuh <thomas.weissschuh@linutronix.de>
Wed, 7 Jan 2026 10:01:49 +0000 (11:01 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sat, 31 Jan 2026 12:58:27 +0000 (12:58 +0000)
commit23ea2a4c72323feb6e3e025e8a6f18336513d5ad
tree32771e136611009e3d539fbe129be6c860edae04
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
ARM: 9468/1: fix memset64() on big-endian

On big-endian systems the 32-bit low and high halves need to be swapped
for the underlying assembly implementation to work correctly.

Fixes: fd1d362600e2 ("ARM: implement memset32 & memset64")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/string.h