xref: /openbmc/linux/arch/csky/abiv1/bswapdi.c (revision 2a598d0b)
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 long long notrace __bswapdi2(unsigned long long u)
9 {
10 	return ___constant_swab64(u);
11 }
12 EXPORT_SYMBOL(__bswapdi2);
13