Skip to content

Commit

Permalink
[POWERPC] Fix ARCH=ppc builds
Browse files Browse the repository at this point in the history
The recent signal rework broke ARCH=ppc builds with the following
error:

CC      arch/powerpc/kernel/signal.o
arch/powerpc/kernel/signal.c: In function �do_signal�:
arch/powerpc/kernel/signal.c:142: error: implicit declaration of
function �set_dabr�
make[1]: *** [arch/powerpc/kernel/signal.o] Error 1

This fixes it by including a function prototype in asm-ppc/system.h.

Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Josh Boyer authored and Paul Mackerras committed Jul 22, 2007
1 parent 461e666 commit dd68c04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/asm-ppc/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ extern void show_regs(struct pt_regs * regs);
extern void flush_instruction_cache(void);
extern void hard_reset_now(void);
extern void poweroff_now(void);
extern int set_dabr(unsigned long dabr);
#ifdef CONFIG_6xx
extern long _get_L2CR(void);
extern long _get_L3CR(void);
Expand Down

0 comments on commit dd68c04

Please sign in to comment.