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:
parent
bf25fb065a
commit
8d6d5d43dd
|
@ -39,6 +39,8 @@ typedef unsigned short u16;
|
|||
|
||||
typedef unsigned int u32;
|
||||
|
||||
typedef unsigned long long u64;
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
#endif /* __ASM_X86_TYPES_H */
|
||||
|
|
|
@ -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 */
|
Loading…
Reference in New Issue