x86/resctrl: Use _ASM_BX to avoid ifdeffery
authorUros Bizjak <ubizjak@gmail.com>
Thu, 6 Jun 2019 20:00:44 +0000 (22:00 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 10 Jun 2019 20:36:38 +0000 (22:36 +0200)
commit515f0453752e3daba7c47d37d9172a66509a56fd
tree64c827d6cd0c1d574c83e001328b7c0cbb6d0946
parentd1fdb6d8f6a4109a4263176c84b899076a5f8008
x86/resctrl: Use _ASM_BX to avoid ifdeffery

Use the _ASM_BX macro which expands to either %rbx or %ebx, depending on
the 32-bit or 64-bit config selected.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20190606200044.5730-1-ubizjak@gmail.com
arch/x86/kernel/cpu/resctrl/pseudo_lock.c