Hello.
Wessel, Jason wrote:
> Index: linux-2.6.21.1/arch/ppc/platforms/85xx/sbc8560.c
> ===================================================================
> --- linux-2.6.21.1.orig/arch/ppc/platforms/85xx/sbc8560.c
> +++ linux-2.6.21.1/arch/ppc/platforms/85xx/sbc8560.c
> @@ -49,6 +49,9 @@
>
> #include <syslib/ppc85xx_common.h>
> #include <syslib/ppc85xx_setup.h>
> +#ifdef CONFIG_SERIAL_TEXT_DEBUG
> +# include <syslib/gen550.h>
> +#endif
>
> static void __init
> sbc8560_early_serial_map(void)
> @@ -228,7 +231,7 @@ platform_init(unsigned long r3, unsigned
> #if defined(CONFIG_SERIAL_8250) && defined(CONFIG_SERIAL_TEXT_DEBUG)
> ppc_md.progress = gen550_progress;
> #endif /* CONFIG_SERIAL_8250 && CONFIG_SERIAL_TEXT_DEBUG */
> -#if defined(CONFIG_SERIAL_8250) && defined(CONFIG_KGDB)
> +#if defined(CONFIG_SERIAL_8250) && defined(CONFIG_KGDB_8250)
> ppc_md.early_serial_map = sbc8560_early_serial_map;
> #endif /* CONFIG_SERIAL_8250 && CONFIG_KGDB */
>
> Index: linux-2.6.21.1/include/asm-ppc/machdep.h
> ===================================================================
> --- linux-2.6.21.1.orig/include/asm-ppc/machdep.h
> +++ linux-2.6.21.1/include/asm-ppc/machdep.h
> @@ -153,6 +153,7 @@ struct machdep_calls {
> */
> void (*machine_kexec)(struct kimage *image);
> #endif /* CONFIG_KEXEC */
> + void (*early_serial_map)(void);
> };
>
> extern struct machdep_calls ppc_md;
Well, since powerpc-lite.patch removed that callback from machdep_calls,
I've also removed the initializer from arch/ppc/platforms/85xx/sbc8560.c (and
elsewhere). Let me post my variant?..
WBR, Sergei
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport