ARM: 6879/1: fix personality test wrt usage of domain handlers
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 13 Apr 2011 04:01:52 +0000 (05:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 14 Apr 2011 08:15:25 +0000 (09:15 +0100)
commit88b9ef452690233d200abf57a3fa2c0f3bd874c5
treee49e8a92b4377789198c144ba8bd973bc16c6d07
parent5e143436d04465c937c1a242808a99c46393af3e
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 <nicolas.pitre@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/traps.c
This page took 0.024982 seconds and 5 git commands to generate.