X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fpersonality.h;h=a84e9ff9b27e9d59cfd1f2d0e8b3403e21b07ca0;hb=37bed90094fdb1eea6e4afec6a200d4e60143e55;hp=bf4cf2080e5cb1c0ba57abf88b7a85951fd0d7fb;hpb=7b7fc708b568a258595e1fa911b930a75ac07b48;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/personality.h b/include/linux/personality.h index bf4cf2080e5..a84e9ff9b27 100644 --- a/include/linux/personality.h +++ b/include/linux/personality.h @@ -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__ */