|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xen/console: rename switch_serial_input() to console_switch_input()
commit c3933dbf77f9d176df0b76ae1aea46422e2793df
Author: Denis Mukhin <dmukhin@xxxxxxxx>
AuthorDate: Mon Jun 2 12:46:50 2025 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jun 2 12:46:50 2025 +0200
xen/console: rename switch_serial_input() to console_switch_input()
Update the function name as per naming notation in the console driver.
No functional change.
Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
xen/drivers/char/console.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c
index c15987f5bb..30701ae0b0 100644
--- a/xen/drivers/char/console.c
+++ b/xen/drivers/char/console.c
@@ -523,7 +523,7 @@ void console_put_domain(struct domain *d)
rcu_unlock_domain(d);
}
-static void switch_serial_input(void)
+static void console_switch_input(void)
{
unsigned int next_rx = console_rx;
@@ -617,7 +617,7 @@ static void cf_check serial_rx(char c)
/* We eat CTRL-<switch_char> in groups of 3 to switch console input. */
if ( ++switch_code_count == 3 )
{
- switch_serial_input();
+ console_switch_input();
switch_code_count = 0;
}
return;
@@ -1171,7 +1171,7 @@ void __init console_endboot(void)
"toggle host/guest log level adjustment", 0);
/* Serial input is directed to DOM0 by default. */
- switch_serial_input();
+ console_switch_input();
}
int __init console_has(const char *device)
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |