summaryrefslogtreecommitdiffstats
path: root/kernel/sys_ni.c
diff options
context:
space:
mode:
authorStuart Menefy <stuart.menefy@st.com>2008-12-12 18:34:38 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-01-29 11:56:02 +0900
commitcadc4e1a2b4d20d0cc0e81f2c6ba0588775e54e5 (patch)
tree2341d7a1426ee687ff828b3a6d2885abbbef261b /kernel/sys_ni.c
parent3d22fca7ab720818cca19a1ee6820e9dc4485195 (diff)
downloadtalos-obmc-linux-cadc4e1a2b4d20d0cc0e81f2c6ba0588775e54e5.tar.gz
talos-obmc-linux-cadc4e1a2b4d20d0cc0e81f2c6ba0588775e54e5.zip
sh: Handle calling csum_partial with misaligned data
In rare circumstances csum_partial() can be called with data which is not 16 or 32 bit aligned. This is been observed with RPC calls for NFS file systems for example. Add support for handling this without resorting to the misaligned fixup code (which is why this hasn't been seen as a problem). This mimics the i386 version, which has had this support for some time. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud