1abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes/**************************************************************************** 2abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes **************************************************************************** 3abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** 4abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** This header was automatically generated from a Linux kernel header 5abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** of the same name, to make information necessary for userspace to 6abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** call into the kernel available to libc. It contains only constants, 7abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** structures, and macros generated from the original header, and thus, 8abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** contains no copyrightable information. 9abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** 10abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** To edit the content of this header, modify the corresponding 11abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** source file (e.g. under external/kernel-headers/original/) then 12abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** run bionic/libc/kernel/tools/update_all.py 13abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** 14abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** Any manual change here will be lost the next time this script will 15abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** be run. You've been warned! 16abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes *** 17abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes **************************************************************************** 18abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes ****************************************************************************/ 19abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes#ifndef _ASM_SWAB_H 20abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes#define _ASM_SWAB_H 21abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes#include <linux/compiler.h> 22abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes#include <linux/types.h> 23abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes#define __SWAB_64_THRU_32__ 2405d08e9716b5974d6ed08973f44930804890b902Christopher Ferris#if !defined(__mips16) && (defined(__mips_isa_rev) && __mips_isa_rev >= 2 || defined(_MIPS_ARCH_LOONGSON3A)) 2538062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define __arch_swab16 __arch_swab16 2638062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define __arch_swab32 __arch_swab32 2738062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#ifdef __mips64 2838062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#define __arch_swab64 __arch_swab64 2938062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#endif 3038062f954c637861348dd8078cefb73554e6f12cChristopher Ferris#endif 31abd626117cfd366faa16a5d0ac4621f608a5c887Elliott Hughes#endif 32