X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fppc%2Fsyslib%2Fgen550_kgdb.c;h=987cc0414e6e880172318a53525bea57cf28648a;hb=refs%2Fheads%2Fvserver;hp=232044cdbe038c9c3e7628a0e57de326a63ae407;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/arch/ppc/syslib/gen550_kgdb.c b/arch/ppc/syslib/gen550_kgdb.c index 232044cdb..987cc0414 100644 --- a/arch/ppc/syslib/gen550_kgdb.c +++ b/arch/ppc/syslib/gen550_kgdb.c @@ -1,6 +1,4 @@ /* - * arch/ppc/syslib/gen550_kgdb.c - * * Generic 16550 kgdb support intended to be useful on a variety * of platforms. To enable this support, it is necessary to set * the CONFIG_GEN550 option. Any virtual mapping of the serial @@ -9,15 +7,14 @@ * * Adapted from ppc4xx_kgdb.c. * - * Author: Matt Porter + * Author: Matt Porter * - * 2002-2003 (c) MontaVista Software, Inc. This file is licensed under + * 2002-2004 (c) MontaVista Software, Inc. This file is licensed under * the terms of the GNU General Public License version 2. This program * is licensed "as is" without any warranty of any kind, whether express * or implied. */ -#include #include #include @@ -80,5 +77,7 @@ void gen550_kgdb_map_scc(void) { printk(KERN_DEBUG "kgdb init\n"); + if (ppc_md.early_serial_map) + ppc_md.early_serial_map(); kgdb_debugport = serial_init(KGDB_PORT, NULL); }