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