Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / unicore32 / include / uapi / asm / byteorder.h
blob864fe4814cf4c9f2f7aafa9a3e002dc508907897
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * linux/arch/unicore32/include/asm/byteorder.h
5 * Code specific to PKUnity SoC and UniCore ISA
7 * Copyright (C) 2001-2010 GUAN Xue-tao
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
13 * UniCore ONLY support Little Endian mode, the data bus is connected such
14 * that byte accesses appear as:
15 * 0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31
16 * and word accesses (data or instruction) appear as:
17 * d0...d31
19 #ifndef __UNICORE_BYTEORDER_H__
20 #define __UNICORE_BYTEORDER_H__
22 #include <linux/byteorder/little_endian.h>
24 #endif