mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
![Harvey Harrison](/assets/img/avatar_default.png)
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>
19 lines
517 B
C
19 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 */
|