summaryrefslogtreecommitdiffstats
path: root/libc/kernel/common/asm-generic
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-04-06 18:49:49 -0700
committerSan Mehat <san@google.com>2010-04-06 18:54:22 -0700
commit9163872132a3e92f986b1d684badb1dd4482ad8e (patch)
tree00a1b93b30fe23fe0f72eb0f2aec173354c00043 /libc/kernel/common/asm-generic
parent7e0bfb511e85834d7c6cb9631206b62f82701d60 (diff)
downloadbionic-android-sdk-tools_r6.zip
bionic-android-sdk-tools_r6.tar.gz
bionic-android-sdk-tools_r6.tar.bz2
For: For http://b/issue?id=2576057 Change-Id: I553ca14974aaec4434e384979e0bb7007dcf6033 Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'libc/kernel/common/asm-generic')
-rw-r--r--libc/kernel/common/asm-generic/swab.h23
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