| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 |  *  Copyright (C) 2001  NEC Corporation | 
 | 3 |  *  Copyright (C) 2001  Miles Bader <miles@gnu.org> | 
 | 4 |  * | 
 | 5 |  * This file is subject to the terms and conditions of the GNU General | 
 | 6 |  * Public License.  See the file COPYING in the main directory of this | 
 | 7 |  * archive for more details. | 
 | 8 |  * | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 |  * Note that some v850 chips support unaligned access, but it seems too | 
 | 10 |  * annoying to use. | 
 | 11 |  */ | 
| Harvey Harrison | 6510d41 | 2008-04-29 01:03:30 -0700 | [diff] [blame] | 12 | #ifndef _ASM_V850_UNALIGNED_H | 
 | 13 | #define _ASM_V850_UNALIGNED_H | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 |  | 
| Harvey Harrison | 6510d41 | 2008-04-29 01:03:30 -0700 | [diff] [blame] | 15 | #include <linux/unaligned/be_byteshift.h> | 
 | 16 | #include <linux/unaligned/le_byteshift.h> | 
 | 17 | #include <linux/unaligned/generic.h> | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 |  | 
| Harvey Harrison | 6510d41 | 2008-04-29 01:03:30 -0700 | [diff] [blame] | 19 | #define get_unaligned	__get_unaligned_le | 
 | 20 | #define put_unaligned	__put_unaligned_le | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 |  | 
| Harvey Harrison | 6510d41 | 2008-04-29 01:03:30 -0700 | [diff] [blame] | 22 | #endif /* _ASM_V850_UNALIGNED_H */ |