Skip to content

Commit dd1e826

Browse files
geertuglaubitz
authored andcommitted
sh: fpu: Add missing forward declarations
arch/sh/kernel/cpu/sh4/fpu.c:389:6: warning: no previous prototype for ‘float_raise’ [-Wmissing-prototypes] arch/sh/kernel/cpu/sh4/fpu.c:394:5: warning: no previous prototype for ‘float_rounding_mode’ [-Wmissing-prototypes] Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/1847145fc2181313b78bea8a81e6f0269d765968.1709326528.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
1 parent a7c234a commit dd1e826

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/sh/include/asm/fpu.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs)
6464
preempt_enable();
6565
}
6666

67+
void float_raise(unsigned int flags);
68+
int float_rounding_mode(void);
69+
6770
#endif /* __ASSEMBLY__ */
6871

6972
#endif /* __ASM_SH_FPU_H */

0 commit comments

Comments
 (0)