blob: 53122b28491ec7b64a31d897d38866d040214702 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 * Copyright (C) 2001 NEC Corporation
3 * Copyright (C) 2001 Miles Bader <miles@gnu.org>
4 *
5 * This file is subject to the terms and conditions of the GNU General
6 * Public License. See the file COPYING in the main directory of this
7 * archive for more details.
8 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 * Note that some v850 chips support unaligned access, but it seems too
10 * annoying to use.
11 */
Harvey Harrison6510d412008-04-29 01:03:30 -070012#ifndef _ASM_V850_UNALIGNED_H
13#define _ASM_V850_UNALIGNED_H
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
Harvey Harrison6510d412008-04-29 01:03:30 -070015#include <linux/unaligned/be_byteshift.h>
16#include <linux/unaligned/le_byteshift.h>
17#include <linux/unaligned/generic.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Harvey Harrison6510d412008-04-29 01:03:30 -070019#define get_unaligned __get_unaligned_le
20#define put_unaligned __put_unaligned_le
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Harvey Harrison6510d412008-04-29 01:03:30 -070022#endif /* _ASM_V850_UNALIGNED_H */