[SPARC64]: 8-byte align return value from compat_alloc_user_space()
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 23 Oct 2006 04:53:30 +0000 (21:53 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 23 Oct 2006 04:53:30 +0000 (21:53 -0700)
commita94b1d1fd7ca3129e1d38d38167779fa6ee69780
treeba1de0d26b7cfce4f0c2f9245a4293c55da32ca5
parent5cfc35cf79d46af998346e3d5cc66fa344d1af0e
[SPARC64]: 8-byte align return value from compat_alloc_user_space()

Otherwise we get a ton of unaligned exceptions, for cases such
as compat_sys_msgrcv() which go:

p = compat_alloc_user_space(second + sizeof(struct msgbuf));

and here 'second' can for example be an arbitrary odd value.

Based upon a bug report from Jurij Smakov.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc64/compat.h