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