summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/byteorder.h
blob: 28f6376db106c28bb5a44c48e53a687645edbe9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _MIPS_BYTEORDER_H
#define _MIPS_BYTEORDER_H

#include <asm/types.h>

#if defined (__MIPSEB__)
#  include <linux/byteorder/big_endian.h>
#elif defined (__MIPSEL__)
#  include <linux/byteorder/little_endian.h>
#else
#  error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???"
#endif

#endif /* _MIPS_BYTEORDER_H */