From: Jiri Kosina Date: Thu, 2 Aug 2012 13:33:59 +0000 (+0200) Subject: [PARISC] fix personality flag check in copy_thread() X-Git-Tag: v3.6-rc4~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b24c421621792fcc588af6f644d6acf2dd798cc;p=pandora-kernel.git [PARISC] fix personality flag check in copy_thread() Directly comparing task_struct->personality against PER_* is not fully correct, as it doesn't take flags potentially stored in top three bytes into account. Analogically, directly forcefully setting personality to PER_LINUX32 or PER_LINUX discards any flags stored in the top three bytes. Signed-off-by: Jiri Kosina Signed-off-by: James Bottomley --- Reading git-diff-tree failed