Revision 598af051a79d05b751fe793f1fe09fcf74763e02 authored by Roland McGrath on 10 April 2008, 22:38:45 UTC, committed by Linus Torvalds on 11 April 2008, 00:28:26 UTC
Use asmlinkage_protect in sys_io_getevents, because GCC for i386 with
CONFIG_FRAME_POINTER=n can decide to clobber an argument word on the
stack, i.e. the user struct pt_regs.  Here the problem is not a tail
call, but just the compiler's use of the stack when it inlines and
optimizes the body of the called function.  This seems to avoid it.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 54a0151
History
File Mode Size
ircomm
irlan
irnet
Kconfig -rw-r--r-- 3.3 KB
Makefile -rw-r--r-- 503 bytes
af_irda.c -rw-r--r-- 66.6 KB
discovery.c -rw-r--r-- 12.4 KB
irda_device.c -rw-r--r-- 8.0 KB
iriap.c -rw-r--r-- 26.3 KB
iriap_event.c -rw-r--r-- 12.5 KB
irias_object.c -rw-r--r-- 13.4 KB
irlap.c -rw-r--r-- 33.8 KB
irlap_event.c -rw-r--r-- 65.2 KB
irlap_frame.c -rw-r--r-- 36.3 KB
irlmp.c -rw-r--r-- 54.5 KB
irlmp_event.c -rw-r--r-- 26.1 KB
irlmp_frame.c -rw-r--r-- 14.1 KB
irmod.c -rw-r--r-- 5.4 KB
irnetlink.c -rw-r--r-- 3.4 KB
irproc.c -rw-r--r-- 2.5 KB
irqueue.c -rw-r--r-- 22.8 KB
irsysctl.c -rw-r--r-- 8.1 KB
irttp.c -rw-r--r-- 50.8 KB
parameters.c -rw-r--r-- 15.4 KB
qos.c -rw-r--r-- 22.4 KB
timer.c -rw-r--r-- 6.3 KB
wrapper.c -rw-r--r-- 13.1 KB

back to top