From 9163872132a3e92f986b1d684badb1dd4482ad8e Mon Sep 17 00:00:00 2001 From: San Mehat Date: Tue, 6 Apr 2010 18:49:49 -0700 Subject: kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32 For: For http://b/issue?id=2576057 Change-Id: I553ca14974aaec4434e384979e0bb7007dcf6033 Signed-off-by: San Mehat --- libc/kernel/common/asm-generic/swab.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 libc/kernel/common/asm-generic/swab.h (limited to 'libc/kernel/common/asm-generic/swab.h') 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 + +#if __BITS_PER_LONG == 32 +#if defined(__GNUC__) && (!defined(__STRICT_ANSI__) || defined(__KERNEL__)) +#define __SWAB_64_THRU_32__ +#endif +#endif + +#endif -- cgit v1.1