xref: /linux/arch/mips/lib/bswapsi.c (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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