aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/signal_64.c
diff options
context:
space:
mode:
authorPetr Tesarik <[email protected]>2008-09-03 13:31:42 +0200
committerIngo Molnar <[email protected]>2008-09-05 17:53:16 +0200
commit4ab4ba32aa16b012cb0faabf1a27952508fe67f2 (patch)
treef14fc366eb714e996bec4d10ef9f8e9c674cf7aa /arch/x86/kernel/signal_64.c
parent28c3cfd5fb998bd3683bebeebbba38baa2101cad (diff)
x86, tracehook: clean up implementation of syscall_get_error()
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 <[email protected]> Cc: [email protected] Acked-by: Roland McGrath <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/kernel/signal_64.c')
0 files changed, 0 insertions, 0 deletions