]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1858ffb4871da782c0814371b302dc4a0aad45d
treee0cf73e75a4b1164fb6adc2b8ef0e047992f95e3
parent2f52044bedf2bbfb8328aa79bae951569cabba1d
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