[U-Boot] [PATCH] avr32: use generic unaligned.h

Mike Frysinger vapier at gentoo.org
Wed May 26 20:09:07 CEST 2010


On Wednesday 26 May 2010 07:52:37 Xulio Coira wrote:
> Signed-off-by: Xulio Coira <xulioc at gmail.com>
> ---
>  arch/avr32/include/asm/unaligned.h |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>  create mode 100644 arch/avr32/include/asm/unaligned.h
> 
> diff --git a/arch/avr32/include/asm/unaligned.h
> b/arch/avr32/include/asm/unaligned.h new file mode 100644
> index 0000000..34b9ccc
> --- /dev/null
> +++ b/arch/avr32/include/asm/unaligned.h
> @@ -0,0 +1,6 @@
> +#ifndef _ASM_AVR32_UNALIGNED_H
> +#define _ASM_AVR32_UNALIGNED_H
> +
> +#include <asm-generic/unaligned.h>
> +
> +#endif

typically #ifdef protection isnt needed when the header is merely a stub that 
forwards to the asm-generic one.  not that it hurts the vast majority of the 
time.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100526/926bfa9b/attachment.pgp 


More information about the U-Boot mailing list