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