]> err.no Git - linux-2.6/blobdiff - include/linux/personality.h
i2c: Make i2c_check_addr static
[linux-2.6] / include / linux / personality.h
index bf4cf2080e5cb1c0ba57abf88b7a85951fd0d7fb..012cd558189b443e6f3856426313cd783c6a36ce 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__ */