mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
74d96f0186
Add swab.h to kbuild.asm and remove the individual entries from each arch, mark as unifdef as some arches have some kernel-only bits inside. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
20 lines
517 B
C
20 lines
517 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 1996, 99, 2003 by Ralf Baechle
|
|
*/
|
|
#ifndef _ASM_BYTEORDER_H
|
|
#define _ASM_BYTEORDER_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 /* _ASM_BYTEORDER_H */
|