um: Fix warning in setup_signal_stack_si()
authorRichard Weinberger <richard@nod.at>
Wed, 13 May 2015 21:02:14 +0000 (23:02 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 31 May 2015 15:39:19 +0000 (17:39 +0200)
commit6c684465587aab2a0d2712ee755c0164fa33efd1
tree1211b404e0f125215aec633dbee712497a1442ba
parentf8d65d27e677da0ce33de570e3068308a77ed2b1
um: Fix warning in setup_signal_stack_si()

Fixes:
arch/x86/um/signal.c: In function ‘setup_signal_stack_si’:
include/asm-generic/uaccess.h:146:27: warning: initialization from incompatible pointer type [enabled by default]
  __typeof__(*(ptr)) __x = (x);    \
                           ^
arch/x86/um/signal.c:544:10: note: in expansion of macro ‘__put_user’
   err |= __put_user(ksig->ka.sa.sa_restorer,

Signed-off-by: Richard Weinberger <richard@nod.at>
arch/x86/um/signal.c