s390/fpu: export save_fpu_regs for all configs
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 06:52:56 +0000 (08:52 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 13 Jun 2017 11:03:43 +0000 (13:03 +0200)
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 <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S

index 0c0138c..e83aff6 100644 (file)
@@ -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.