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