Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* unaligned.h: unaligned access handler |
| 2 | * |
| 3 | * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * as published by the Free Software Foundation; either version |
| 9 | * 2 of the License, or (at your option) any later version. |
| 10 | */ |
| 11 | |
David Howells | adafbed | 2008-05-01 04:34:24 -0700 | [diff] [blame] | 12 | #ifndef _ASM_UNALIGNED_H |
| 13 | #define _ASM_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/le_byteshift.h> |
| 16 | #include <linux/unaligned/be_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_be |
| 20 | #define put_unaligned __put_unaligned_be |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | |
David Howells | adafbed | 2008-05-01 04:34:24 -0700 | [diff] [blame] | 22 | #endif /* _ASM_UNALIGNED_H */ |