x86/alternatives: Move temporary_mm helpers into C
authorThomas Gleixner <tglx@linutronix.de>
Tue, 21 Apr 2020 09:20:31 +0000 (11:20 +0200)
committerBorislav Petkov <bp@suse.de>
Fri, 24 Apr 2020 17:12:56 +0000 (19:12 +0200)
commit9020d3956317d052cdddd43e55acdd2970344192
tree672dae6d577543bd49546cec0fcbe761bf70c4c9
parentcb2a02355b042ec3ef11d0ba2a46742678e41632
x86/alternatives: Move temporary_mm helpers into C

The only user of these inlines is the text poke code and this must not be
exposed to the world.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200421092559.139069561@linutronix.de
arch/x86/include/asm/mmu_context.h
arch/x86/kernel/alternative.c