|
|
| File: [Development] / linux-2.6-xfs / include / asm-m68knommu / Attic / unaligned.h (download)
Revision 1.3, Fri Oct 13 17:03:09 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Merge up to 2.6.18 Merge of 2.6.x-xfs-melb:linux:27192b by kenmcd. |
#ifndef __M68K_UNALIGNED_H #define __M68K_UNALIGNED_H #ifdef CONFIG_COLDFIRE #include <asm-generic/unaligned.h> #else /* * The m68k can do unaligned accesses itself. * * The strange macros are there to make sure these can't * be misused in a way that makes them not work on other * architectures where unaligned accesses aren't as simple. */ #define get_unaligned(ptr) (*(ptr)) #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) #endif #endif