From: Petr Tesarik Date: Wed, 3 Sep 2008 11:31:42 +0000 (+0200) Subject: x86, tracehook: clean up implementation of syscall_get_error() X-Git-Tag: v2.6.28-rc1~734^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ab4ba32aa16b012cb0faabf1a27952508fe67f2;p=pandora-kernel.git 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 Cc: utrace-devel@redhat.com Acked-by: Roland McGrath Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed