x86/oprofile: Avoid TIF_IA32 when checking 64bit mode
authorGabriel Krisman Bertazi <krisman@collabora.com>
Sun, 4 Oct 2020 03:25:29 +0000 (23:25 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 26 Oct 2020 12:46:46 +0000 (13:46 +0100)
commit47cd4dac1fb21759ffcfe0600827c87fa6acdfa7
tree8c373f007473c6a7f42462f9963bed3670c5ddfe
parent214f0e804358cdd13b5cbe4445189f23e30618b4
x86/oprofile: Avoid TIF_IA32 when checking 64bit mode

In preparation to remove TIF_IA32, stop using it in oprofile code. Use
user_64bit_mode() instead.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201004032536.1229030-4-krisman@collabora.com
arch/x86/oprofile/backtrace.c