ARC: fpu: fix randconfig build error reported by 0-day test service
authorVineet Gupta <vgupta@synopsys.com>
Sat, 8 Feb 2020 01:05:10 +0000 (17:05 -0800)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 10 Feb 2020 06:17:22 +0000 (22:17 -0800)
Reported-by: kbuild test robot <lkp@intel.com>
Link: http://lists.infradead.org/pipermail/linux-snps-arc/2020-February/006845.html
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/fpu.h

index 6434725..006bcf8 100644 (file)
@@ -43,6 +43,8 @@ extern void fpu_init_task(struct pt_regs *regs);
 
 #endif /* !CONFIG_ISA_ARCOMPACT */
 
+struct task_struct;
+
 extern void fpu_save_restore(struct task_struct *p, struct task_struct *n);
 
 #else  /* !CONFIG_ARC_FPU_SAVE_RESTORE */