xref: /openbmc/linux/arch/csky/abiv1/bswapsi.c (revision 8795a739)
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
3 
4 #include <linux/export.h>
5 #include <linux/compiler.h>
6 #include <uapi/linux/swab.h>
7 
8 unsigned int notrace __bswapsi2(unsigned int u)
9 {
10 	return ___constant_swab32(u);
11 }
12 EXPORT_SYMBOL(__bswapsi2);
13