]> git.karo-electronics.de Git - mv-sheeva.git/commit
arch/tile: fix futex sanitization definition/prototype mismatch
authorChris Metcalf <cmetcalf@tilera.com>
Sat, 19 Mar 2011 15:45:34 +0000 (11:45 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Sun, 20 Mar 2011 04:08:21 +0000 (00:08 -0400)
commit5b4787719f8870104fada924ef65ee9fd5eb2514
tree6f82375d8f2372d70e00430292190fb63776056c
parent5bab188a316718a26346cdb25c4cc6b319f8f907
arch/tile: fix futex sanitization definition/prototype mismatch

Commit 8d7718aa082aaf30a0b4989e1f04858952f941bc changed "int"
to "u32" in the prototypes but not the definition.
I missed this when I saw the patch go by on LKML.

We cast "u32 *" to "int *" since we are tying into the underlying
atomics framework, and atomic_t uses int as its value type.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Reviewed-by: Michel Lespinasse <walken@google.com>
arch/tile/lib/atomic_32.c