mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 12:27:12 +00:00
add include/asm-m68k/unaligned.h
lib_generic/zlib.c needs include/asm/unaligned.h since commit
cd514aeb99
, which broke compilation for
Coldfire/M68K. This patch adds the missing header for these
architectures.
Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
This commit is contained in:
parent
f3651764e5
commit
870bf3ee60
1 changed files with 15 additions and 0 deletions
15
include/asm-m68k/unaligned.h
Normal file
15
include/asm-m68k/unaligned.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef _ASM_M68K_UNALIGNED_H
|
||||
#define _ASM_M68K_UNALIGNED_H
|
||||
|
||||
#ifdef CONFIG_COLDFIRE
|
||||
#include <linux/unaligned/be_byteshift.h>
|
||||
#else
|
||||
#include <linux/unaligned/access_ok.h>
|
||||
#endif
|
||||
|
||||
#include <linux/unaligned/generic.h>
|
||||
|
||||
#define get_unaligned __get_unaligned_be
|
||||
#define put_unaligned __put_unaligned_be
|
||||
|
||||
#endif /* _ASM_M68K_UNALIGNED_H */
|
Loading…
Add table
Reference in a new issue