H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_UNALIGNED_H |
| 2 | #define _ASM_X86_UNALIGNED_H |
Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 3 | |
| 4 | /* |
| 5 | * The x86 can do unaligned accesses itself. |
Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
Harvey Harrison | 6510d41 | 2008-04-29 01:03:30 -0700 | [diff] [blame] | 8 | #include <linux/unaligned/access_ok.h> |
| 9 | #include <linux/unaligned/generic.h> |
Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 10 | |
Harvey Harrison | 6510d41 | 2008-04-29 01:03:30 -0700 | [diff] [blame] | 11 | #define get_unaligned __get_unaligned_le |
| 12 | #define put_unaligned __put_unaligned_le |
Thomas Gleixner | 003a46c | 2007-10-15 13:57:47 +0200 | [diff] [blame] | 13 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 14 | #endif /* _ASM_X86_UNALIGNED_H */ |