Home
last modified time | relevance | path

Searched hist:"9 efbcd59" (Results 1 – 1 of 1) sorted by relevance

/linux/lib/
H A Datomic64_test.c9efbcd59 Mon Mar 01 18:55:45 GMT 2010 Luca Barbieri <luca@luca-barbieri.com> lib: Fix atomic64_add_unless test

atomic64_add_unless must return 1 if it perfomed the add and 0 otherwise.
The test assumed the opposite convention.

Reported-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Luca Barbieri <luca@luca-barbieri.com>
LKML-Reference: <1267469749-11878-2-git-send-email-luca@luca-barbieri.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>