powerpc: Remove hard coded FP offsets in alignment handler
authorAnton Blanchard <anton@samba.org>
Mon, 23 Sep 2013 02:04:47 +0000 (12:04 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:48:35 +0000 (16:48 +1100)
commitc324496456208e4a6a377d8a36b8fad76d004c7f
treee0cf73e75a4b1164fb6adc2b8ef0e047992f95e3
parentf626190d27a8525fbb6e3a72831e177c092f8a44
powerpc: Remove hard coded FP offsets in alignment handler

The alignment handler assumes big endian ordering when selecting
the low word of a 64bit floating point value. Use the existing
union which works in both little and big endian.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/align.c