Skip to content

Commit

Permalink
x32: Only clear TIF_X32 flag once
Browse files Browse the repository at this point in the history
Commits bb21272 and d1a797f both added a call to
clear_thread_flag(TIF_X32) under set_personality_64bit() - only one is
needed.

Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
Link: http://lkml.kernel.org/r/1330228774-24223-1-git-send-email-bobbypowers@gmail.com
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
bpowers authored and H. Peter Anvin committed Feb 26, 2012
1 parent ce5f7a9 commit 00194b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ void set_personality_64bit(void)

/* Make sure to be in 64bit mode */
clear_thread_flag(TIF_IA32);
clear_thread_flag(TIF_X32);
clear_thread_flag(TIF_ADDR32);
clear_thread_flag(TIF_X32);

Expand Down

0 comments on commit 00194b2

Please sign in to comment.