blob: 6c61c05b2e0cfe36844b1d7466879b9f4c4f4f69 [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>
Harvey Harrisoncb76d5a2008-10-15 16:50:59 +010016#include <linux/unaligned/be_struct.h>
Harvey Harrison6510d412008-04-29 01:03:30 -070017#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 */