Tony SIM | 1d7a894 | 2010-01-28 17:04:55 +0900 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef _ASM_SH_UNALIGNED_H |
| 13 | #define _ASM_SH_UNALIGNED_H |
| 14 | |
| 15 | #ifdef __LITTLE_ENDIAN__ |
| 16 | #include <linux/unaligned/le_struct.h> |
| 17 | #include <linux/unaligned/be_byteshift.h> |
| 18 | #include <linux/unaligned/generic.h> |
| 19 | #define get_unaligned __get_unaligned_le |
| 20 | #define put_unaligned __put_unaligned_le |
| 21 | #else |
| 22 | #include <linux/unaligned/be_struct.h> |
| 23 | #include <linux/unaligned/le_byteshift.h> |
| 24 | #include <linux/unaligned/generic.h> |
| 25 | #define get_unaligned __get_unaligned_be |
| 26 | #define put_unaligned __put_unaligned_be |
| 27 | #endif |
| 28 | |
| 29 | #endif |