summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/syscall.h
Commit message (Collapse)AuthorAgeFilesLines
* x86, tracehook: clean up implementation of syscall_get_error()Petr Tesarik2008-09-051-1/+2
| | | | | | | | | | | | | | The x86-tracehook code now contains this line in syscall_get_error(): return error >= -4095L ? error : 0; Hard-wiring a constant is not nice. Let's use the IS_ERR_VALUE macro from linux/err.h instead. Signed-off-by: Petr Tesarik <ptesarik@suse.cz> Cc: utrace-devel@redhat.com Acked-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86: tracehook: asm/syscall.hRoland McGrath2008-07-261-0/+210
Add asm/syscall.h for x86 with all the required entry points. This will allow arch-independent tracing code for system calls. Signed-off-by: Roland McGrath <roland@redhat.com>
OpenPOWER on IntegriCloud