[PATCH] use-generic-bug-for-ppc

Jeremy Fitzhardinge jeremy at goop.org
Thu Oct 5 06:15:21 EST 2006


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



More information about the Linuxppc-dev mailing list