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