[Kgdb-bugreport] [PATCH] kgdb: select NET_POLL_CONTROLLER with KGDBOE
Status: Beta
Brought to you by:
jwessel
From: Mike F. <va...@ge...> - 2010-05-25 20:03:19
|
From: Sonic Zhang <son...@an...> If we try to enable KGDBOE but NET_POLL_CONTROLLER is disabled, we hit: net/core/netpoll.c: In function 'netpoll_poll': net/core/netpoll.c:184: error: 'const struct net_device_ops' has no member named 'ndo_poll_controller' net/core/netpoll.c:188: error: 'const struct net_device_ops' has no member named 'ndo_poll_controller' net/core/netpoll.c: In function 'netpoll_setup': net/core/netpoll.c:707: error: 'const struct net_device_ops' has no member named 'ndo_poll_controller' make[2]: *** [net/core/netpoll.o] Error 1 Signed-off-by: Sonic Zhang <son...@an...> Signed-off-by: Mike Frysinger <va...@ge...> --- lib/Kconfig.kgdb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/Kconfig.kgdb b/lib/Kconfig.kgdb index fe5010b..1d9909e 100644 --- a/lib/Kconfig.kgdb +++ b/lib/Kconfig.kgdb @@ -32,6 +32,7 @@ config KGDBOE depends on KGDB select NETPOLL select NETPOLL_TRAP + select NET_POLL_CONTROLLER help Uses the NETPOLL API to communicate with the host GDB via UDP. In order for this to work, the ethernet interface specified must -- 1.7.1 |