mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
Adjust misc routines for both 32BIT and 64BIT, including: bitops, bswap, checksum, string, jump label, unaligned access emulator, suspend/wakeup routines, etc. Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
14 lines
311 B
C
14 lines
311 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/export.h>
|
|
#include <linux/compiler.h>
|
|
#include <uapi/linux/swab.h>
|
|
|
|
/* To silence -Wmissing-prototypes. */
|
|
unsigned int __bswapsi2(unsigned int u);
|
|
|
|
unsigned int notrace __bswapsi2(unsigned int u)
|
|
{
|
|
return ___constant_swab32(u);
|
|
}
|
|
EXPORT_SYMBOL(__bswapsi2);
|