summaryrefslogtreecommitdiffstats
path: root/arch/csky/abiv1/bswapdi.c
blob: f50a1d6e337ac3fe3a13c2de8e7158bc17b0ff1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#include <linux/export.h>
#include <linux/compiler.h>
#include <uapi/linux/swab.h>

unsigned long long notrace __bswapdi2(unsigned long long u)
{
	return ___constant_swab64(u);
}
EXPORT_SYMBOL(__bswapdi2);