mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 11:13:07 +00:00
a47a12becf
As discussed on the list, move "arch/ppc" to "arch/powerpc" to better match the Linux directory structure. Please note that this patch also changes the "ppc" target in MAKEALL to "powerpc" to match this new infrastructure. But "ppc" is kept as an alias for now, to not break compatibility with scripts using this name. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de> Acked-by: Kim Phillips <kim.phillips@freescale.com> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Anatolij Gustschin <agust@denx.de>
16 lines
383 B
C
16 lines
383 B
C
#ifndef _ASM_POWERPC_UNALIGNED_H
|
|
#define _ASM_POWERPC_UNALIGNED_H
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
/*
|
|
* The PowerPC can do unaligned accesses itself in big endian mode.
|
|
*/
|
|
#include <linux/unaligned/access_ok.h>
|
|
#include <linux/unaligned/generic.h>
|
|
|
|
#define get_unaligned __get_unaligned_be
|
|
#define put_unaligned __put_unaligned_be
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif /* _ASM_POWERPC_UNALIGNED_H */
|