]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/personality.h
fb: convert lock/unlock_kernel() into local fb mutex
[linux-2.6-omap-h63xx.git] / include / linux / personality.h
index bf4cf2080e5cb1c0ba57abf88b7a85951fd0d7fb..a84e9ff9b27e9d59cfd1f2d0e8b3403e21b07ca0 100644 (file)
@@ -105,16 +105,12 @@ struct exec_domain {
  */
 #define personality(pers)      (pers & PER_MASK)
 
-/*
- * Personality of the currently running process.
- */
-#define get_personality                (current->personality)
 
 /*
  * 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__ */