diff options
Diffstat (limited to 'libc/kernel/common/asm-generic/swab.h')
-rw-r--r-- | libc/kernel/common/asm-generic/swab.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libc/kernel/common/asm-generic/swab.h b/libc/kernel/common/asm-generic/swab.h new file mode 100644 index 0000000..592926d --- /dev/null +++ b/libc/kernel/common/asm-generic/swab.h @@ -0,0 +1,23 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _ASM_GENERIC_SWAB_H +#define _ASM_GENERIC_SWAB_H + +#include <asm/bitsperlong.h> + +#if __BITS_PER_LONG == 32 +#if defined(__GNUC__) && (!defined(__STRICT_ANSI__) || defined(__KERNEL__)) +#define __SWAB_64_THRU_32__ +#endif +#endif + +#endif |