diff options
author | Wolfgang Wegner <w.wegner@astro-kom.de> | 2009-12-09 17:32:12 -0500 |
---|---|---|
committer | TsiChung Liew <tsicliew@gmail.com> | 2010-03-04 01:45:38 -0600 |
commit | 870bf3ee60320b58f8970ffe3ddebda0e8ac62f7 (patch) | |
tree | 0b866c05ec54fd1b5b9b1e6c70f2edad9135814f | |
parent | f3651764e57e353251695691677bd95ba5a420bc (diff) | |
download | u-boot-imx-870bf3ee60320b58f8970ffe3ddebda0e8ac62f7.zip u-boot-imx-870bf3ee60320b58f8970ffe3ddebda0e8ac62f7.tar.gz u-boot-imx-870bf3ee60320b58f8970ffe3ddebda0e8ac62f7.tar.bz2 |
add include/asm-m68k/unaligned.h
lib_generic/zlib.c needs include/asm/unaligned.h since commit
cd514aeb996e2f7aefbe1f78481965d9d074aed4, 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>
-rw-r--r-- | include/asm-m68k/unaligned.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-m68k/unaligned.h b/include/asm-m68k/unaligned.h new file mode 100644 index 0000000..328aa0c --- /dev/null +++ b/include/asm-m68k/unaligned.h @@ -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 */ |