|
|
| File: [Development] / linux-2.6-xfs / include / asm-powerpc / Attic / unaligned.h (download)
Revision 1.1, Fri Oct 28 16:02:11 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Merge up to 2.6.14 Merge of 2.6.x-xfs-melb:linux:24258a by kenmcd. |
#ifndef _ASM_POWERPC_UNALIGNED_H #define _ASM_POWERPC_UNALIGNED_H #ifdef __KERNEL__ /* * The PowerPC can do unaligned accesses itself in big endian mode. * * 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 /* __KERNEL__ */ #endif /* _ASM_POWERPC_UNALIGNED_H */