summaryrefslogtreecommitdiffstats
path: root/arch/x86/math-emu/fpu_proto.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-06-23 14:01:55 +0200
committerBorislav Petkov <bp@suse.de>2021-06-23 18:16:33 +0200
commit872c65dbf669b3b471b3d8656391a6b4f736d22b (patch)
treee153d6fc68bf0832d8554f438a407d2d75b8b4fe /arch/x86/math-emu/fpu_proto.h
parentx86/fpu: Rename fxregs-related copy functions (diff)
downloadlinux-872c65dbf669b3b471b3d8656391a6b4f736d22b.tar.xz
linux-872c65dbf669b3b471b3d8656391a6b4f736d22b.zip
x86/math-emu: Rename frstor()
This is in the way of renaming the low level hardware accessors to match the instruction name. Prepend it with FPU_ which is consistent vs. the rest of the emulation code. No functional change. [ bp: Correct the Reported-by: ] Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210623121454.111665161@linutronix.de
Diffstat (limited to 'arch/x86/math-emu/fpu_proto.h')
-rw-r--r--arch/x86/math-emu/fpu_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/math-emu/fpu_proto.h b/arch/x86/math-emu/fpu_proto.h
index 70d35c200945..94c4023092f3 100644
--- a/arch/x86/math-emu/fpu_proto.h
+++ b/arch/x86/math-emu/fpu_proto.h
@@ -144,7 +144,7 @@ extern int FPU_store_int16(FPU_REG *st0_ptr, u_char st0_tag, short __user *d);
extern int FPU_store_bcd(FPU_REG *st0_ptr, u_char st0_tag, u_char __user *d);
extern int FPU_round_to_int(FPU_REG *r, u_char tag);
extern u_char __user *fldenv(fpu_addr_modes addr_modes, u_char __user *s);
-extern void frstor(fpu_addr_modes addr_modes, u_char __user *data_address);
+extern void FPU_frstor(fpu_addr_modes addr_modes, u_char __user *data_address);
extern u_char __user *fstenv(fpu_addr_modes addr_modes, u_char __user *d);
extern void fsave(fpu_addr_modes addr_modes, u_char __user *data_address);
extern int FPU_tagof(FPU_REG *ptr);