summaryrefslogtreecommitdiff
path: root/arch/parisc/Makefile
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-04-22 16:53:43 +0400
committerHelge Deller <deller@gmx.de>2013-04-26 00:36:42 +0400
commit0f28b62890097cb8732581a80f0a47fd7649df7d (patch)
treec14dbb935561f40381a3d3a3502c4c83dc5caf06 /arch/parisc/Makefile
parent87be2f88b24ad1f206a5c87529ff406e96c95a12 (diff)
downloadlinux-0f28b62890097cb8732581a80f0a47fd7649df7d.tar.xz
parisc: uaccess: fix compiler warnings caused by __put_user casting
When targetting 32-bit processors, __put_user emits a pair of stw instructions for the 8-byte case. If the type of __val is a pointer, the marshalling code casts it to the wider integer type of u64, resulting in the following compiler warnings: kernel/signal.c: In function 'copy_siginfo_to_user': kernel/signal.c:2752:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] kernel/signal.c:2752:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [...] This patch fixes the warnings by removing the marshalling code and using the correct output modifiers in the __put_{user,kernel}_asm64 macros so that GCC will allocate the right registers without the need to extract the two words explicitly. Cc: Helge Deller <deller@gmx.de> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/Makefile')
0 files changed, 0 insertions, 0 deletions