Skip to content

Commit 396ada6

Browse files
richardweinbergertorvalds
authored andcommitted
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 <richard@nod.at> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 34c9a0f commit 396ada6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/alpha/include/asm/processor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ struct task_struct;
4444
extern unsigned long thread_saved_pc(struct task_struct *);
4545

4646
/* Do necessary setup to start up a newly executed thread. */
47+
struct pt_regs;
4748
extern void start_thread(struct pt_regs *, unsigned long, unsigned long);
4849

4950
/* Free all resources held by a thread. */

0 commit comments

Comments
 (0)