]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
xen: Fix coding style in hypervisor.h
authorJulien Grall <julien.grall@citrix.com>
Sun, 4 Oct 2015 18:05:52 +0000 (19:05 +0100)
committerJulien Grall <julien.grall@citrix.com>
Sun, 4 Oct 2015 18:23:55 +0000 (19:23 +0100)
sys/xen/hypervisor.h

index d60720355489404a30813d40ac8b0202ebfd993b..96819dfcf99cdcbde4a7300c67749cbc2008188d 100644 (file)
@@ -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);
 }