aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorRob Gardner <[email protected]>2015-03-02 23:16:55 -0700
committerDavid S. Miller <[email protected]>2015-03-03 14:05:48 -0800
commit53eb2516972b8c4628651dfcb926cb9ef8b2864a (patch)
tree4827808f8699895836d524b53c8bc8aa9206e9ff /lib/memory-notifier-error-inject.c
parent9555b47fab149ee23bddc842c264dd6f3b51f52d (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions