futex_requeue_pi optimization
[safe/jmp/linux-2.6] / include / linux / personality.h
index bf4cf20..012cd55 100644 (file)
@@ -114,7 +114,7 @@ struct exec_domain {
  * Change personality of the currently running process.
  */
 #define set_personality(pers) \
-       ((current->personality == pers) ? 0 : __set_personality(pers))
+       ((current->personality == (pers)) ? 0 : __set_personality(pers))
 
 #endif /* __KERNEL__ */