microblaze: Don't use access_ok for unaligned
authorJohn Williams <john.williams@petalogix.com>
Tue, 24 Mar 2009 01:10:00 +0000 (11:10 +1000)
committerMichal Simek <monstr@monstr.eu>
Tue, 2 Jun 2009 06:39:16 +0000 (08:39 +0200)
commit3447ef29a7f3b1fd0d8d58376950e695e04f6f8b
treef3e789ce7917817d99329d9ade3207da42265b39
parent77bc7ac87d0d6df1ea099a44e8fc4e998e409606
microblaze: Don't use access_ok for unaligned

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>
arch/microblaze/include/asm/unaligned.h