linux/arch
Paolo 'Blaisorblade' Giarrusso bcb01b8a67 [PATCH] uml: fix lvalue for gcc4
Russell King <rmk+lkml@arm.linux.org.uk>

This construct is refused by GCC 4, so here's the (corrected) fix.  Thanks to
Russell for noticing a stupid mistake I did when first sending this.

As he noted, the code is largely suboptimal however it currently works, and
will be fixed shortly.  Just read the access_ok check on fp which is NULL, or
the pointer arithmetic below which should be done with a cast to void*:

 	frame = (struct rt_sigframe __user *)
 		round_down(stack_top - sizeof(struct rt_sigframe), 16) - 8;

The code shows clearly that has been taken from
arch/x86_64/kernel/signal.c:setup_rt_frame(), maybe in a bit of a hurry.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-14 09:00:24 -07:00
..
alpha [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
arm Merge /home/torvalds/linux-2.6-arm 2005-07-13 10:12:50 -07:00
arm26 [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
cris [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
frv [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... 2005-07-12 17:21:56 -04:00
h8300 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 2005-07-12 15:54:36 -07:00
i386 [PATCH] fix voyager subarchitecture EXPORT_SYMBOL breakage caused by i386_ksym reduction 2005-07-13 11:07:54 -07:00
ia64 Auto merge with /home/aegl/GIT/linus 2005-07-13 12:15:43 -07:00
m32r [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
m68k [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
m68knommu [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
mips [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
parisc [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
ppc [PATCH] ppc32: make -j12 all fails in uImage target 2005-07-13 11:25:25 -07:00
ppc64 [PATCH] ppc64: add 970MP PVR 2005-07-13 11:25:25 -07:00
s390 [PATCH] s390: fadvise hint values. 2005-07-13 11:25:24 -07:00
sh [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
sh64 [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
sparc [NET]: add a top-level Networking menu to *config 2005-07-11 21:03:49 -07:00
sparc64 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 2005-07-12 15:54:36 -07:00
um [PATCH] uml: fix lvalue for gcc4 2005-07-14 09:00:24 -07:00
v850 [PATCH] v850: Align ___start___param to match parameter alignment 2005-07-13 12:25:48 -07:00
x86_64 [PATCH] x86_64: section alignment fix 2005-07-12 16:00:59 -07:00
xtensa [PATCH] xtensa: use ssleep() instead of schedule_timeout() 2005-07-12 16:01:01 -07:00