Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105771
b: refs/heads/master
c: 7721c49
h: refs/heads/master
i:
  105769: cb312fb
  105767: 8ad4822
v: v3
  • Loading branch information
Christian Borntraeger authored and Rusty Russell committed Jul 25, 2008
1 parent 91c9c0f commit 97bed55
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 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: 91fcad19d03ed67cb50fd0e1913a8b89cc3ed3ec
refs/heads/master: 7721c494a28e06543a3d6aa412957aa783a4a531
6 changes: 5 additions & 1 deletion trunk/drivers/char/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,12 @@ config HVC_XEN
Xen virtual console device driver

config VIRTIO_CONSOLE
bool
tristate "Virtio console"
depends on VIRTIO
select HVC_DRIVER
help
Virtio console for use with lguest and other hypervisors.


config HVCS
tristate "IBM Hypervisor Virtual Console Server support"
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/char/hvc_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,15 @@ int hvc_instantiate(uint32_t vtermno, int index, struct hv_ops *ops)

return 0;
}
EXPORT_SYMBOL_GPL(hvc_instantiate);

/* Wake the sleeping khvcd */
void hvc_kick(void)
{
hvc_kicked = 1;
wake_up_process(hvc_task);
}
EXPORT_SYMBOL_GPL(hvc_kick);

static void hvc_unthrottle(struct tty_struct *tty)
{
Expand Down Expand Up @@ -629,6 +631,7 @@ int hvc_poll(struct hvc_struct *hp)

return poll_mask;
}
EXPORT_SYMBOL_GPL(hvc_poll);

/*
* This kthread is either polling or interrupt driven. This is determined by
Expand Down Expand Up @@ -739,6 +742,7 @@ struct hvc_struct __devinit *hvc_alloc(uint32_t vtermno, int data,

return hp;
}
EXPORT_SYMBOL_GPL(hvc_alloc);

int __devexit hvc_remove(struct hvc_struct *hp)
{
Expand Down

0 comments on commit 97bed55

Please sign in to comment.