android_kernel_xiaomi_sm8350/arch
Harvey Harrison 6510d41954 kernel: Move arches to use common unaligned access
Unaligned access is ok for the following arches:
cris, m68k, mn10300, powerpc, s390, x86

Arches that use the memmove implementation for native endian, and
the byteshifting for the opposite endianness.
h8300, m32r, xtensa

Packed struct for native endian, byteshifting for other endian:
alpha, blackfin, ia64, parisc, sparc, sparc64, mips, sh

m86knommu is generic_be for Coldfire, otherwise unaligned access is ok.

frv, arm chooses endianness based on compiler settings, uses the byteshifting
versions.  Remove the unaligned trap handler from frv as it is now unused.

v850 is le, uses the byteshifting versions for both be and le.

Remove the now unused asm-generic implementation.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-29 08:06:27 -07:00
..
alpha iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
arm arm: use non-racy method for /proc/davinci_clocks creation 2008-04-29 08:06:21 -07:00
avr32 avr32: proc: use non-racy method for /proc/tlb creation 2008-04-29 08:06:21 -07:00
blackfin Remove the macro get_personality 2008-04-29 08:06:02 -07:00
cris cris: use non-racy method for /proc/system_profile creation 2008-04-29 08:06:21 -07:00
frv kernel: Move arches to use common unaligned access 2008-04-29 08:06:27 -07:00
h8300
ia64 ia64: use non-racy method for proc entries creation 2008-04-29 08:06:21 -07:00
m32r
m68k proc: remove /proc/mac_iop 2008-04-29 08:06:19 -07:00
m68knommu
mips proc: switch /proc/excite/unit_id to seq_file interface 2008-04-29 08:06:19 -07:00
mn10300 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
parisc parisc: use non-racy method for /proc/pcxl_dma creation 2008-04-29 08:06:21 -07:00
powerpc powerpc: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
ppc proper extern for late_time_init 2008-04-29 08:06:03 -07:00
s390 proper __do_softirq() prototype 2008-04-29 08:06:02 -07:00
sh proper __do_softirq() prototype 2008-04-29 08:06:02 -07:00
sparc iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
sparc64 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
um proc: remove proc_root from drivers 2008-04-29 08:06:18 -07:00
v850 iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
x86 edd: add default mode CONFIG_EDD_OFF=n, override with edd={on,off} 2008-04-29 08:06:23 -07:00
xtensa
.gitignore
Kconfig dma: add dma_*map*_attrs() interfaces 2008-04-29 08:06:11 -07:00