Linux 2.3.1pre3
[davej-history.git] / include / asm-m68k / unaligned.h
blob479f1586470ef700411872a4711b58ddcabd8b67
1 #ifndef __M68K_UNALIGNED_H
2 #define __M68K_UNALIGNED_H
4 /*
5 * The m68k can do unaligned accesses itself.
7 * The strange macros are there to make sure these can't
8 * be misused in a way that makes them not work on other
9 * architectures where unaligned accesses aren't as simple.
12 #define get_unaligned(ptr) (*(ptr))
14 #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))
16 #endif