9
0
Fork 0

x86: fix build error because of missing header

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Lucas De Marchi 2011-11-09 19:39:56 -02:00 committed by Sascha Hauer
parent bf25fb065a
commit 8d6d5d43dd
2 changed files with 16 additions and 0 deletions

View File

@ -39,6 +39,8 @@ typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned long long u64;
#endif /* __ASSEMBLY__ */
#endif /* __ASM_X86_TYPES_H */

View File

@ -0,0 +1,14 @@
#ifndef _ASM_X86_UNALIGNED_H
#define _ASM_X86_UNALIGNED_H
/*
* The x86 can do unaligned accesses itself.
*/
#include <linux/unaligned/access_ok.h>
#include <linux/unaligned/generic.h>
#define get_unaligned __get_unaligned_le
#define put_unaligned __put_unaligned_le
#endif /* _ASM_X86_UNALIGNED_H */