diff options
| author | Jiri Kosina <[email protected]> | 2012-08-02 13:33:59 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2012-08-03 10:25:12 +0000 |
| commit | 5b24c421621792fcc588af6f644d6acf2dd798cc (patch) | |
| tree | bc89e67b20c47a8bacde1b82d087054e941aee24 /lib/mpi/mpicoder.c | |
| parent | [PARISC] Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts (diff) | |
| download | kernel-5b24c421621792fcc588af6f644d6acf2dd798cc.tar.gz kernel-5b24c421621792fcc588af6f644d6acf2dd798cc.zip | |
[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 <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
