xref: /openbmc/linux/arch/mips/lib/bswapsi.c (revision 8ac3b5cd)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/export.h>
3 #include <linux/compiler.h>
4 #include <uapi/linux/swab.h>
5 
6 /* To silence -Wmissing-prototypes. */
7 unsigned int __bswapsi2(unsigned int u);
8 
9 unsigned int notrace __bswapsi2(unsigned int u)
10 {
11 	return ___constant_swab32(u);
12 }
13 EXPORT_SYMBOL(__bswapsi2);
14