Skip to contentSkip to conversation

fix tx4938 undefined reference

PATCH In review Geoff Levand 2 participants 3 messages Apr 5, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 fix tx4938 undefined reference

Fix undefined reference to `txx9_sio_kdbg_rd' when CONFIG_KGDB_8250=y, CONFIG_KGDB_8250=n.

arch/mips/tx4938/common/Makefile +1 -1
Index: linux-2.6.16.1/arch/mips/tx4938/common/Makefile
===================================================================
@@ -7,5 +7,5 @@
 #
 
 obj-y	+= prom.o setup.o irq.o irq_handler.o rtc_rx5c348.o
-obj-$(CONFIG_KGDB) += dbgio.o
+obj-$(CONFIG_KGDB_8250) += dbgio.o
 
#1 lore raw

Hello.

Quoted 3 lines · Geoff Levand

------------------------------------------------------------------------

Fix undefined reference to `txx9_sio_kdbg_rd' when CONFIG_KGDB_8250=y, CONFIG_KGDB_8250=n.

I'm sorry, where do you see this option? It belongs to cross-arch KGDB
which AFAIK is not in the Linus' kernel yet. So, NAK.

arch/mips/tx4938/common/Makefile line 10

Quoted 13 lines

Index: linux-2.6.16.1/arch/mips/tx4938/common/Makefile
===================================================================

arch/mips/tx4938/common/Makefile +1 -1
@@ -7,5 +7,5 @@
 #
 
 obj-y	+= prom.o setup.o irq.o irq_handler.o rtc_rx5c348.o
-obj-$(CONFIG_KGDB) += dbgio.o
+obj-$(CONFIG_KGDB_8250) += dbgio.o

WBR, Sergei

#2 lore raw
Quoted 2 lines · Sergei Shtylyov

I'm sorry, where do you see this option? It belongs to cross-arch KGDB
which AFAIK is not in the Linus' kernel yet. So, NAK.

Yes, sorry about that. I'll send it off to the kgdb ML.

-Geoff

Quoted 16 lines

arch/mips/tx4938/common/Makefile line 10

Quoted 13 lines

Index: linux-2.6.16.1/arch/mips/tx4938/common/Makefile
===================================================================

arch/mips/tx4938/common/Makefile +1 -1
@@ -7,5 +7,5 @@
 #
 
 obj-y	+= prom.o setup.o irq.o irq_handler.o rtc_rx5c348.o
-obj-$(CONFIG_KGDB) += dbgio.o
+obj-$(CONFIG_KGDB_8250) += dbgio.o

WBR, Sergei