Subject: Re: [PATCH] use-generic-bug-for-ppc

From: Jeremy Fitzhardinge <[email-masked]>
Date: Wed, 04 Oct 2006 13:15:21 -0700

Judith Lebzelter wrote:
> Index: linux/arch/ppc/kernel/traps.c
> ===================================================================
> --- linux.orig/arch/ppc/kernel/traps.c	2006-10-03 16:11:26.461653713 -0700
> +++ linux/arch/ppc/kernel/traps.c	2006-10-04 10:00:21.198907987 -0700
> @@ -28,6 +28,7 @@
>  #include <linux/init.h>
>  #include <linux/module.h>
>  #include <linux/prctl.h>
> +#include <linux/bug.h>
>  
>  #include <asm/pgtable.h>
>  #include <asm/uaccess.h>
> @@ -568,55 +569,9 @@
>   */
>  extern struct bug_entry __start___bug_table[], __stop___bug_table[];
>  
> -#ifndef CONFIG_MODULES
> -#define module_find_bug(x)	NULL
> -#endif
>   
Looks like you need to delete a bit more here - the extern struct 
bug_entry, and the comment above.
    J