]> git.baikalelectronics.ru Git - kernel.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)
commitf454c97f660fc670e6768d0983fe57a6dc7ae7b8
tree6f82375d8f2372d70e00430292190fb63776056c
parent06b5921c58acb3fa9d77772a1c23bbff4595c1fb
arch/tile: fix futex sanitization definition/prototype mismatch

Commit e8a70f5ad679decd5d36339fbfbb6992375ea4d9 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