xenbus_comms.c: Nix trailing whitespace.

No functional change intended.
This commit is contained in:
riastradh 2023-02-25 00:37:34 +00:00
parent bad5336a8a
commit 51dd0b0dc5
1 changed files with 9 additions and 9 deletions

View File

@ -1,24 +1,24 @@
/* $NetBSD: xenbus_comms.c,v 1.25 2023/02/25 00:34:01 riastradh Exp $ */ /* $NetBSD: xenbus_comms.c,v 1.26 2023/02/25 00:37:34 riastradh Exp $ */
/****************************************************************************** /******************************************************************************
* xenbus_comms.c * xenbus_comms.c
* *
* Low level code to talks to Xen Store: ringbuffer and event channel. * Low level code to talks to Xen Store: ringbuffer and event channel.
* *
* Copyright (C) 2005 Rusty Russell, IBM Corporation * Copyright (C) 2005 Rusty Russell, IBM Corporation
* *
* This file may be distributed separately from the Linux kernel, or * This file may be distributed separately from the Linux kernel, or
* incorporated into other software packages, subject to the following license: * incorporated into other software packages, subject to the following license:
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this source file (the "Software"), to deal in the Software without * of this source file (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modify, * restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, * merge, publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so, subject to * and to permit persons to whom the Software is furnished to do so, subject to
* the following conditions: * the following conditions:
* *
* The above copyright notice and this permission notice shall be included in * The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software. * all copies or substantial portions of the Software.
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@ -29,11 +29,11 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: xenbus_comms.c,v 1.25 2023/02/25 00:34:01 riastradh Exp $"); __KERNEL_RCSID(0, "$NetBSD: xenbus_comms.c,v 1.26 2023/02/25 00:37:34 riastradh Exp $");
#include <sys/types.h> #include <sys/types.h>
#include <sys/null.h> #include <sys/null.h>
#include <sys/errno.h> #include <sys/errno.h>
#include <sys/param.h> #include <sys/param.h>
#include <sys/proc.h> #include <sys/proc.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -80,7 +80,7 @@ wake_waiting(void *arg)
{ {
if (__predict_false(xenstored_ready == 0 && xendomain_is_dom0())) { if (__predict_false(xenstored_ready == 0 && xendomain_is_dom0())) {
xb_xenstored_make_ready(); xb_xenstored_make_ready();
} }
mutex_enter(&xenstore_lock); mutex_enter(&xenstore_lock);
cv_broadcast(&xenstore_cv); cv_broadcast(&xenstore_cv);