mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 02:36:21 +00:00
9e2b3e834c
Commit b24413180f5600 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") was meant to do a tree-wide cleanup for files without any license information by adding a SPDX GPL-2.0 line to them. Unfortunately this was applied even to several Xen-related headers which have been originally under the MIT license, but obviously have been copied to the Linux tree from the Xen project without keeping the license boiler plate as required. Correct that by changing the license of those files back to "MIT". Some files still contain the MIT license text. Replace that by the related SPDX line. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Link: https://lore.kernel.org/r/20211015143312.29900-1-jgross@suse.com Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
/* SPDX-License-Identifier: MIT */
|
|
/*****************************************************************************
|
|
* xenbus.h
|
|
*
|
|
* Xenbus protocol details.
|
|
*
|
|
* Copyright (C) 2005 XenSource Ltd.
|
|
*/
|
|
|
|
#ifndef _XEN_PUBLIC_IO_XENBUS_H
|
|
#define _XEN_PUBLIC_IO_XENBUS_H
|
|
|
|
/* The state of either end of the Xenbus, i.e. the current communication
|
|
status of initialisation across the bus. States here imply nothing about
|
|
the state of the connection between the driver and the kernel's device
|
|
layers. */
|
|
enum xenbus_state
|
|
{
|
|
XenbusStateUnknown = 0,
|
|
XenbusStateInitialising = 1,
|
|
XenbusStateInitWait = 2, /* Finished early
|
|
initialisation, but waiting
|
|
for information from the peer
|
|
or hotplug scripts. */
|
|
XenbusStateInitialised = 3, /* Initialised and waiting for a
|
|
connection from the peer. */
|
|
XenbusStateConnected = 4,
|
|
XenbusStateClosing = 5, /* The device is being closed
|
|
due to an error or an unplug
|
|
event. */
|
|
XenbusStateClosed = 6,
|
|
|
|
/*
|
|
* Reconfiguring: The device is being reconfigured.
|
|
*/
|
|
XenbusStateReconfiguring = 7,
|
|
|
|
XenbusStateReconfigured = 8
|
|
};
|
|
|
|
#endif /* _XEN_PUBLIC_IO_XENBUS_H */
|