From: Martin Schwidefsky Date: Mon, 12 Jun 2017 06:52:56 +0000 (+0200) Subject: s390/fpu: export save_fpu_regs for all configs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f044f4c588985867d17499e51460053a96f9ff7a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390/fpu: export save_fpu_regs for all configs The save_fpu_regs function is a general API that is supposed to be usable for modules as well. Remove the #ifdef that hides the symbol for CONFIG_KVM=n. Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S index 0c0138c7dfc7..e83aff630bcf 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S @@ -894,9 +894,7 @@ ENTRY(save_fpu_regs) oi __LC_CPU_FLAGS+7,_CIF_FPU br %r14 .Lsave_fpu_regs_end: -#if IS_ENABLED(CONFIG_KVM) EXPORT_SYMBOL(save_fpu_regs) -#endif /* * Load floating-point controls and floating-point or vector registers.