diff options
| author | Kumar Gala <galak@kernel.crashing.org> | 2011-06-02 12:18:53 -0400 |
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2011-06-02 16:29:08 -0400 |
| commit | a3623239ad941c7fa5440231f601e8f6de1f2a54 (patch) | |
| tree | 06549dc702d556af5b08881ef8bb983635191f5d /arch/powerpc/include/asm | |
| parent | 9693ebd4815eefa2b7c8fcc699061a0c8da0c1e7 (diff) | |
powerpc/fsl_rio: Fix compile error when CONFIG_FSL_RIO not set
arch/powerpc/kernel/built-in.o: In function `machine_check_e500mc':
arch/powerpc/kernel/traps.c:429: undefined reference to `fsl_rio_mcheck_exception'
arch/powerpc/kernel/built-in.o: In function `machine_check_e500':
arch/powerpc/kernel/traps.c:519: undefined reference to `fsl_rio_mcheck_exception'
make: *** [.tmp_vmlinux1] Error 1
Reported-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
| -rw-r--r-- | arch/powerpc/include/asm/rio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/rio.h b/arch/powerpc/include/asm/rio.h index d902abd3399..b1d2deceeed 100644 --- a/arch/powerpc/include/asm/rio.h +++ b/arch/powerpc/include/asm/rio.h | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | #define ASM_PPC_RIO_H | 14 | #define ASM_PPC_RIO_H |
| 15 | 15 | ||
| 16 | extern void platform_rio_init(void); | 16 | extern void platform_rio_init(void); |
| 17 | #ifdef CONFIG_RAPIDIO | 17 | #ifdef CONFIG_FSL_RIO |
| 18 | extern int fsl_rio_mcheck_exception(struct pt_regs *); | 18 | extern int fsl_rio_mcheck_exception(struct pt_regs *); |
| 19 | #else | 19 | #else |
| 20 | static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; } | 20 | static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; } |
