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
00-INDEX -rw-r--r-- 320 bytes
ChangeLog.ide-cd.1994-2004 -rw-r--r-- 15.2 KB
ChangeLog.ide-floppy.1996-2002 -rw-r--r-- 4.0 KB
ChangeLog.ide-tape.1995-2002 -rw-r--r-- 15.9 KB
ide-tape.txt -rw-r--r-- 6.5 KB
ide.txt -rw-r--r-- 12.7 KB

back to top