blob: 785c2e91578cf7fc63ba7d699cd84d24a94009b4 [file] [log] [blame]
Michal Simek50ef25e2010-01-19 12:03:25 +01001#ifndef _ASM_MICROBLAZE_UNALIGNED_H
2#define _ASM_MICROBLAZE_UNALIGNED_H
3
4#ifdef __KERNEL__
5
6/*
7 * The Microblaze can do unaligned accesses itself in big endian mode.
8 */
9#include <linux/unaligned/access_ok.h>
10#include <linux/unaligned/generic.h>
11
12#define get_unaligned __get_unaligned_be
13#define put_unaligned __put_unaligned_be
14
15#endif /* __KERNEL__ */
16#endif /* _ASM_MICROBLAZE_UNALIGNED_H */