aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/unaligned.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-05-10asm-generic: use asm-generic/unaligned.h for most architecturesArnd Bergmann1-27/+0
There are several architectures that just duplicate the contents of asm-generic/unaligned.h, so change those over to use the file directly, to make future modifications easier. The exceptions are: - arm32 sets HAVE_EFFICIENT_UNALIGNED_ACCESS, but wants the unaligned-struct version - ppc64le disables HAVE_EFFICIENT_UNALIGNED_ACCESS but includes the access-ok version - most m68k also uses the access-ok version without setting HAVE_EFFICIENT_UNALIGNED_ACCESS. - sh4a has a custom inline asm version - openrisc is the only one using the memmove version that generally leads to worse code. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
2020-02-25microblaze: Convert headers to SPDX licenseMichal Simek1-4/+1
Covert all headers to SPDX. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Stefan Asserhall <stefan.asserhall@xilinx.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
2011-03-09microblaze: Fix unaligned.h for endiansMichal Simek1-5/+6
Synchronized with mips unaligned.h. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-10-21microblaze: Add support for little-endian MicroblazeMichal Simek1-3/+9
Microblaze little-endian toolchain exports __MICROBLAZEEL__ which is used in the kernel to identify little/big endian. The most of the changes are in loading values from DTB which is always big endian. Little endian platforms are based on new AXI bus which has impact to early uartlite initialization. Signed-off-by: Michal Simek <monstr@monstr.eu>
2009-06-02microblaze: Don't use access_ok for unalignedJohn Williams1-1/+2
it assumes we have an unaligned exception handler which (a) may not be true (b) costs a lot of performance Instead we'll use struct/union method for big endian accesses, and byte-shifting for little endian. Signed-off-by: John Williams <john.williams@petalogix.com>
2009-03-27microblaze_v8: page.h, segment.h, unaligned.hMichal Simek1-0/+22
Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>