path: root/arch/alpha/include/asm
diff options
authorRichard Weinberger <>2015-04-16 12:43:10 -0700
committerLinus Torvalds <>2015-04-17 09:03:53 -0400
commit396ada68acefc4f90cf1f05d4275913834af5d93 (patch)
tree9add5635ae671a08cd1481ecfec861cdf34d5f3b /arch/alpha/include/asm
parent34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085 (diff)
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 <>
Diffstat (limited to 'arch/alpha/include/asm')
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/processor.h b/arch/alpha/include/asm/processor.h
index b4cf03690394..43a7559c448b 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. */