From: Richard Weinberger Date: Thu, 16 Apr 2015 19:43:10 +0000 (-0700) Subject: alpha: forward declare struct pt_regs in processor.h X-Git-Tag: v4.14-rc1~5566^2~137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=396ada68acefc4f90cf1f05d4275913834af5d93;p=platform%2Fkernel%2Flinux-rpi.git alpha: forward declare struct pt_regs in processor.h Removal of exec domains uncovered this new warning. processor.h re-used struct pt_regs from personality.h which is now gone. ./arch/alpha/include/asm/processor.h:47:33: warning: 'struct pt_regs' declared inside parameter list [enabled by default] Signed-off-by: Richard Weinberger Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/alpha/include/asm/processor.h b/arch/alpha/include/asm/processor.h index b4cf036..43a7559 100644 --- a/arch/alpha/include/asm/processor.h +++ b/arch/alpha/include/asm/processor.h @@ -44,6 +44,7 @@ struct task_struct; extern unsigned long thread_saved_pc(struct task_struct *); /* Do necessary setup to start up a newly executed thread. */ +struct pt_regs; extern void start_thread(struct pt_regs *, unsigned long, unsigned long); /* Free all resources held by a thread. */