[Skiboot] [PATCH v2 08/14] console: add dummy_console_flush()
Oliver O'Halloran
oohall at gmail.com
Tue Dec 20 17:03:39 AEDT 2016
Define a driver specific flush opal call in preperation for removing
the con_ops->flush() operation.
Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
core/console.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/core/console.c b/core/console.c
index be5aa6211ce4..b053e491e351 100644
--- a/core/console.c
+++ b/core/console.c
@@ -373,6 +373,12 @@ static int64_t dummy_console_read(int64_t term_number, int64_t *length,
}
opal_call(OPAL_CONSOLE_READ, dummy_console_read, 3);
+static int64_t dummy_console_flush(int64_t term_number __unused)
+{
+ return OPAL_UNSUPPORTED;
+}
+opal_call(OPAL_CONSOLE_FLUSH, dummy_console_flush, 1);
+
static void dummy_console_poll(void *data __unused)
{
bool has_data = false;
--
2.7.4
More information about the Skiboot
mailing list