1 /* SPDX-License-Identifier: GPL-2.0-or-later W 2 #include <linux/linkage.h> 3 #include <asm/asmmacro.h> 4 #include <asm/core.h> 5 6 ENTRY(__bswapdi2) 7 8 abi_entry_default 9 ssai 8 10 srli a4, a2, 16 11 src a4, a4, a2 12 src a4, a4, a4 13 src a4, a2, a4 14 srli a2, a3, 16 15 src a2, a2, a3 16 src a2, a2, a2 17 src a2, a3, a2 18 mov a3, a4 19 abi_ret_default 20 21 ENDPROC(__bswapdi2) 22 EXPORT_SYMBOL(__bswapdi2)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.