From 2a63ed7d6dd69ead0fd34baf4b54149b289fdea3 Mon Sep 17 00:00:00 2001 From: Julien Grall Date: Sun, 4 Oct 2015 19:05:52 +0100 Subject: [PATCH] xen: Fix coding style in hypervisor.h --- sys/xen/hypervisor.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/xen/hypervisor.h b/sys/xen/hypervisor.h index d60720355489..96819dfcf99c 100644 --- a/sys/xen/hypervisor.h +++ b/sys/xen/hypervisor.h @@ -1,8 +1,8 @@ /****************************************************************************** * hypervisor.h - * + * * Linux-specific hypervisor handling. - * + * * Copyright (c) 2002, K A Fraser * * $FreeBSD$ @@ -26,10 +26,10 @@ extern start_info_t *xen_start_info; extern uint64_t get_system_time(int ticks); -static inline int +static inline int HYPERVISOR_console_write(const char *str, int count) { - return HYPERVISOR_console_io(CONSOLEIO_write, count, str); + return HYPERVISOR_console_io(CONSOLEIO_write, count, str); } static inline void HYPERVISOR_crash(void) __dead2; @@ -60,7 +60,7 @@ HYPERVISOR_block( } -static inline void +static inline void HYPERVISOR_shutdown(unsigned int reason) { struct sched_shutdown sched_shutdown = { @@ -74,11 +74,11 @@ HYPERVISOR_shutdown(unsigned int reason) } static inline void -HYPERVISOR_crash(void) +HYPERVISOR_crash(void) { - HYPERVISOR_shutdown(SHUTDOWN_crash); + HYPERVISOR_shutdown(SHUTDOWN_crash); /* NEVER REACHED */ - for (;;) ; /* eliminate noreturn error */ + for (;;) ; /* eliminate noreturn error */ } /* Transfer control to hypervisor until an event is detected on one */ @@ -98,7 +98,7 @@ HYPERVISOR_poll( #if CONFIG_XEN_COMPAT <= 0x030002 if (rc == -ENOXENSYS) rc = HYPERVISOR_sched_op_compat(SCHEDOP_yield, 0); -#endif +#endif return (rc); } -- 2.39.5