diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-01-18 14:45:05 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-24 04:52:41 +0100 |
commit | 38edf58d73c28b082ec808aecdeb0ef2b92af049 (patch) | |
tree | a0235a87189cc48efc4fb61a1a2d70ce386891e1 /drivers/rtc/class.c | |
parent | virtio: console: use vdev->priv to avoid accessing global var. (diff) | |
download | linux-38edf58d73c28b082ec808aecdeb0ef2b92af049.tar.xz linux-38edf58d73c28b082ec808aecdeb0ef2b92af049.zip |
virtio: console: don't assume a single console port.
Keep a list of all ports being used as a console, and provide a lock
and a lookup function. The hvc callbacks only give us a vterm number,
so we need to map this.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/rtc/class.c')
0 files changed, 0 insertions, 0 deletions