]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/kernel/i387.c
x86/fpu: Add comments to fpu__save() and restrict its export
[mirror_ubuntu-artful-kernel.git] / arch / x86 / kernel / i387.c
index ec1a744eb853ff858d1776c7670174a12c646960..ac47278cde719201f846f62c4b9406493b2aa4d4 100644 (file)
@@ -117,6 +117,9 @@ void __kernel_fpu_end(void)
 }
 EXPORT_SYMBOL(__kernel_fpu_end);
 
+/*
+ * Save the FPU state (initialize it if necessary):
+ */
 void fpu__save(struct task_struct *tsk)
 {
        preempt_disable();
@@ -130,7 +133,7 @@ void fpu__save(struct task_struct *tsk)
        }
        preempt_enable();
 }
-EXPORT_SYMBOL(fpu__save);
+EXPORT_SYMBOL_GPL(fpu__save);
 
 unsigned int mxcsr_feature_mask __read_mostly = 0xffffffffu;
 unsigned int xstate_size;