Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / unicore32 / include / asm / byteorder.h
blobebe1b3fef3e36342bd8e96ce2e0751456e21b444
1 /*
2 * linux/arch/unicore32/include/asm/byteorder.h
4 * Code specific to PKUnity SoC and UniCore ISA
6 * Copyright (C) 2001-2010 GUAN Xue-tao
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
12 * UniCore ONLY support Little Endian mode, the data bus is connected such
13 * that byte accesses appear as:
14 * 0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31
15 * and word accesses (data or instruction) appear as:
16 * d0...d31
18 #ifndef __UNICORE_BYTEORDER_H__
19 #define __UNICORE_BYTEORDER_H__
21 #include <linux/byteorder/little_endian.h>
23 #endif