summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/perf_event.c
diff options
context:
space:
mode:
authorRob Gardner <rob.gardner@oracle.com>2015-03-02 23:16:55 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 15:06:49 +0100
commit61b30f78cfbcc44800857e0da1a9d2372ffab86e (patch)
tree52c76bc7e479fb32132f00a9ea9111408c7ce91e /arch/sparc/kernel/perf_event.c
parent8df06a353b6ac3ceb942364a343ae44fcc93c363 (diff)
sparc: semtimedop() unreachable due to comparison error
[ Upstream commit 53eb2516972b8c4628651dfcb926cb9ef8b2864a ] 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 <rob.gardner@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions