Permalink
Browse files

x32: Only clear TIF_X32 flag once

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...
1 parent ce5f7a9 commit 00194b2e845da29395ad00c13a884d9acb9306b5 @bpowers bpowers committed with H. Peter Anvin Feb 26, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 arch/x86/kernel/process_64.c
@@ -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);

0 comments on commit 00194b2

Please sign in to comment.