diff options
author | Rob Gardner <rob.gardner@oracle.com> | 2015-03-03 07:16:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-03 23:05:48 +0100 |
commit | 53eb2516972b8c4628651dfcb926cb9ef8b2864a (patch) | |
tree | 4827808f8699895836d524b53c8bc8aa9206e9ff /block/elevator.c | |
parent | sparc: io_64.h: Replace io function-link macros (diff) | |
download | linux-53eb2516972b8c4628651dfcb926cb9ef8b2864a.tar.xz linux-53eb2516972b8c4628651dfcb926cb9ef8b2864a.zip |
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 <rob.gardner@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions