Skip to content
Snippets Groups Projects
Commit 870bf3ee authored by Wolfgang Wegner's avatar Wolfgang Wegner Committed by TsiChung Liew
Browse files

add include/asm-m68k/unaligned.h

lib_generic/zlib.c needs include/asm/unaligned.h since commit
cd514aeb, 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>
parent f3651764
No related branches found
No related tags found
Loading
#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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment