kernel_optimize_test/arch/sparc64
David S. Miller ff171d8f66 [SPARC64]: Handle little-endian unaligned loads/stores correctly.
Because we use byte loads/stores to cons up the value
in and out of registers, we can't expect the ASI endianness
setting to take care of this for us.  So do it by hand.

This case is triggered by drivers/block/aoe/aoecmd.c in the
ataid_complete() function where it goes:

		/* word 100: number lba48 sectors */
		ssize = le64_to_cpup((__le64 *) &id[100<<1]);

This &id[100<<1] address is 4 byte, rather than 8 byte aligned,
thus triggering the unaligned exception.

Signed-off-by: David S. Miller <davem@davemloft.net>
2005-09-19 19:56:06 -07:00
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [SPARC64]: Handle little-endian unaligned loads/stores correctly. 2005-09-19 19:56:06 -07:00
lib [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] kprobes-prevent-possible-race-conditions-sparc64-changes fix 2005-09-07 16:58:00 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
solaris [PATCH] files: lock-free fd look-up 2005-09-09 13:57:55 -07:00
defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] Kconfig fix (BLK_DEV_FD dependencies) 2005-09-07 17:17:12 -07:00
Kconfig.debug [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00