X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Funaligned.h;h=8876f034ea6486503134df5bd3be494b9b120aff;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=2b047b0daf6844cbfb62b8a6ac89e16a6db0a615;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/include/asm-m68knommu/unaligned.h b/include/asm-m68knommu/unaligned.h index 2b047b0da..8876f034e 100644 --- a/include/asm-m68knommu/unaligned.h +++ b/include/asm-m68knommu/unaligned.h @@ -5,15 +5,7 @@ #ifdef CONFIG_COLDFIRE -/* Use memmove here, so gcc does not insert a __builtin_memcpy. */ - -#define get_unaligned(ptr) \ - ({ __typeof__(*(ptr)) __tmp; memmove(&__tmp, (ptr), sizeof(*(ptr))); __tmp; }) - -#define put_unaligned(val, ptr) \ - ({ __typeof__(*(ptr)) __tmp = (val); \ - memmove((ptr), &__tmp, sizeof(*(ptr))); \ - (void)0; }) +#include #else /*