Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338549
b: refs/heads/master
c: 86effe5
h: refs/heads/master
i:
  338547: 076336f
v: v3
  • Loading branch information
Jan Beulich authored and Greg Kroah-Hartman committed Oct 30, 2012
1 parent 14a4725 commit 135d274
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d067a3155336894ca19d08b7359f824fbbdbc379
refs/heads/master: 86effe5980e25f4fac10a0f22938c2fcd4a32690
15 changes: 9 additions & 6 deletions trunk/drivers/usb/early/ehci-dbgp.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <linux/usb/ehci_def.h>
#include <linux/delay.h>
#include <linux/serial_core.h>
#include <linux/kconfig.h>
#include <linux/kgdb.h>
#include <linux/kthread.h>
#include <asm/io.h>
Expand Down Expand Up @@ -614,12 +615,6 @@ static int _dbgp_external_startup(void)
return -ENODEV;
}

int dbgp_external_startup(struct usb_hcd *hcd)
{
return xen_dbgp_external_startup(hcd) ?: _dbgp_external_startup();
}
EXPORT_SYMBOL_GPL(dbgp_external_startup);

static int ehci_reset_port(int port)
{
u32 portsc;
Expand Down Expand Up @@ -979,6 +974,7 @@ struct console early_dbgp_console = {
.index = -1,
};

#if IS_ENABLED(CONFIG_USB_EHCI_HCD)
int dbgp_reset_prep(struct usb_hcd *hcd)
{
int ret = xen_dbgp_reset_prep(hcd);
Expand Down Expand Up @@ -1007,6 +1003,13 @@ int dbgp_reset_prep(struct usb_hcd *hcd)
}
EXPORT_SYMBOL_GPL(dbgp_reset_prep);

int dbgp_external_startup(struct usb_hcd *hcd)
{
return xen_dbgp_external_startup(hcd) ?: _dbgp_external_startup();
}
EXPORT_SYMBOL_GPL(dbgp_external_startup);
#endif /* USB_EHCI_HCD */

#ifdef CONFIG_KGDB

static char kgdbdbgp_buf[DBGP_MAX_PACKET];
Expand Down

0 comments on commit 135d274

Please sign in to comment.