[IA64] Low byte of current->personality is not a bitmask.
authorTony Luck <tony.luck@intel.com>
Tue, 30 Aug 2005 21:59:24 +0000 (14:59 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 30 Aug 2005 21:59:24 +0000 (14:59 -0700)
commitff67b59726a8cd3549b069dfa78de2f538d3b8e3
tree0a587cec3a6bd4fdd53fcfb75f87bc45da5d1a7f
parent288ceb8f142249109fd2e9f1bf0492bd6ff6d892
[IA64] Low byte of current->personality is not a bitmask.

Peter Staubach pointed out that it is not correct to check
current->personality & PER_LINUX32 (this will have false
hits on several other personality values).

Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/fcntl.h