mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-20 12:16:22 -04:00

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>
16 lines
335 B
C
16 lines
335 B
C
#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 */
|