unaligned.h 694 B

12345678910111213141516171819202122
  1. /* 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. #ifndef _ASM_UNALIGNED_H
  12. #define _ASM_UNALIGNED_H
  13. #include <linux/unaligned/le_byteshift.h>
  14. #include <linux/unaligned/be_struct.h>
  15. #include <linux/unaligned/generic.h>
  16. #define get_unaligned __get_unaligned_be
  17. #define put_unaligned __put_unaligned_be
  18. #endif /* _ASM_UNALIGNED_H */