~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to arch/microblaze/include/asm/unaligned.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-08-05 23:00:52 UTC
  • Revision ID: james.westby@ubuntu.com-20090805230052-7xedvqcyk9dnnxb2
Tags: 2.6.31-1.1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2008 Michal Simek <monstr@monstr.eu>
 
3
 * Copyright (C) 2006 Atmark Techno, Inc.
 
4
 *
 
5
 * This file is subject to the terms and conditions of the GNU General Public
 
6
 * License. See the file "COPYING" in the main directory of this archive
 
7
 * for more details.
 
8
 */
 
9
 
 
10
#ifndef _ASM_MICROBLAZE_UNALIGNED_H
 
11
#define _ASM_MICROBLAZE_UNALIGNED_H
 
12
 
 
13
# ifdef __KERNEL__
 
14
 
 
15
# include <linux/unaligned/be_struct.h>
 
16
# include <linux/unaligned/le_byteshift.h>
 
17
# include <linux/unaligned/generic.h>
 
18
 
 
19
# define get_unaligned  __get_unaligned_be
 
20
# define put_unaligned  __put_unaligned_be
 
21
 
 
22
# endif /* __KERNEL__ */
 
23
#endif /* _ASM_MICROBLAZE_UNALIGNED_H */