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