]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/personality.h
fix struct user_info export's sysfs interaction
[linux-2.6-omap-h63xx.git] / 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__ */