Skip to content

Commit 00194b2

Browse files
bpowersH. Peter Anvin
authored andcommitted
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>
1 parent ce5f7a9 commit 00194b2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/x86/kernel/process_64.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,6 @@ void set_personality_64bit(void)
510510

511511
/* Make sure to be in 64bit mode */
512512
clear_thread_flag(TIF_IA32);
513-
clear_thread_flag(TIF_X32);
514513
clear_thread_flag(TIF_ADDR32);
515514
clear_thread_flag(TIF_X32);
516515

0 commit comments

Comments
 (0)