From: Nicolas Pitre Date: Wed, 13 Apr 2011 04:01:52 +0000 (+0100) Subject: ARM: 6879/1: fix personality test wrt usage of domain handlers X-Git-Tag: v2.6.39-rc4~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88b9ef452690233d200abf57a3fa2c0f3bd874c5;p=pandora-kernel.git ARM: 6879/1: fix personality test wrt usage of domain handlers There are optional bits that may complement a personality ID. It is therefore wrong to simply test against the absolute current->personality value to determine the effective personality. The PER_LINUX_32BIT is itself just PER_LINUX with one of those optional bits set. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King --- Reading git-diff-tree failed