On Mon, Jul 17, 2017 at 06:36:44PM +0530, Bhupinder Thakur wrote: > This patch introduces a new add_console_tty_fd function. This function > adds the tty fd to the list of polled fds. > > Signed-off-by: Bhupinder Thakur <bhupinder.tha...@linaro.org> > --- > CC: Ian Jackson <ian.jack...@eu.citrix.com> > CC: Wei Liu <wei.l...@citrix.com> > CC: Stefano Stabellini <sstabell...@kernel.org> > CC: Julien Grall <julien.gr...@arm.com> > > Changes since v5: > - Split this change in a separate patch. > > tools/console/daemon/io.c | 30 +++++++++++++++++------------- > 1 file changed, 17 insertions(+), 13 deletions(-) > > diff --git a/tools/console/daemon/io.c b/tools/console/daemon/io.c > index dc96203..6321d78 100644 > --- a/tools/console/daemon/io.c > +++ b/tools/console/daemon/io.c > @@ -1069,6 +1069,22 @@ static void add_console_evtchn_fd(struct console *con, > void *data) > *((long long *)data) = next_timeout; > } > > +static void add_console_tty_fd(struct console *con)
Add maybe_ prefix please. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel