[PATCH] uml: change sigjmp_buf to jmp_buf
Clean up the jmpbuf code. Since softints, we no longer use sig_setjmp, so the UML_SIGSETJMP wrapper now has a misleading name. Also, I forgot to change the buffers from sigjmp_buf to jmp_buf. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
4127272c38
commit
ad28e02978
@ -16,9 +16,9 @@ unsigned long __do_user_copy(void *to, const void *from, int n,
|
||||
unsigned long *faddrp = (unsigned long *) fault_addr, ret;
|
||||
int enable;
|
||||
|
||||
sigjmp_buf jbuf;
|
||||
jmp_buf jbuf;
|
||||
*fault_catcher = &jbuf;
|
||||
if(UML_SIGSETJMP(&jbuf, enable) == 0){
|
||||
if(UML_SETJMP(&jbuf, enable) == 0){
|
||||
(*op)(to, from, n);
|
||||
ret = 0;
|
||||
*faulted_out = 0;
|
||||
|
Reference in New Issue
Block a user