summaryrefslogtreecommitdiffstats
path: root/arch/csky/abiv1/bswapsi.c
blob: 0f79182e8a5b130e953fc01da4a447224d986bd2 (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 int notrace __bswapsi2(unsigned int u)
{
	return ___constant_swab32(u);
}
EXPORT_SYMBOL(__bswapsi2);