From: Rob Gardner Date: Tue, 3 Mar 2015 06:16:55 +0000 (-0700) Subject: sparc: semtimedop() unreachable due to comparison error X-Git-Tag: omap-for-v4.1/fixes-rc1~305^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53eb2516972b8c4628651dfcb926cb9ef8b2864a;p=pandora-kernel.git sparc: semtimedop() unreachable due to comparison error A bug was reported that the semtimedop() system call was always failing eith ENOSYS. Since SEMCTL is defined as 3, and SEMTIMEDOP is defined as 4, the comparison "call <= SEMCTL" will always prevent SEMTIMEDOP from getting through to the semaphore ops switch statement. This is corrected by changing the comparison to "call <= SEMTIMEDOP". Orabug: 20633375 Signed-off-by: Rob Gardner Signed-off-by: David S. Miller --- Reading git-diff-tree failed