blob: 839a2fbffa0f34c8c428b6a5793a407749e69ac8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* unaligned.h: unaligned access handler
2 *
3 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
10 */
11
David Howellsadafbed2008-05-01 04:34:24 -070012#ifndef _ASM_UNALIGNED_H
13#define _ASM_UNALIGNED_H
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
Harvey Harrison6510d412008-04-29 01:03:30 -070015#include <linux/unaligned/le_byteshift.h>
16#include <linux/unaligned/be_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_be
20#define put_unaligned __put_unaligned_be
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
David Howellsadafbed2008-05-01 04:34:24 -070022#endif /* _ASM_UNALIGNED_H */