staging: unisys: visorbus: convert VMCALL_CONTROLVM_ADDR enum to #define

VMCALL_CONTROLVM_ADDR is the only element left in enum
vmcall_monitor_interface_method_tuple. Converting it to a #define.

Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: David Binder <david.binder@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sameer Wadgaonkar
2017-07-17 16:16:55 -04:00
committed by Greg Kroah-Hartman
parent 0330a357ff
commit 55b7bd03f8

View File

@@ -17,8 +17,7 @@
#define __VMCALLINTERFACE_H__
/*
* enum vmcall_monitor_interface_method_tuple - VMCALL identification tuples.
* @VMCALL_CONTROLVM_ADDR: Used by all guests, not just IO.
* VMCALL_CONTROLVM_ADDR: Used by all guests, not just IO.
*
* Note: When a new VMCALL is added:
* - The 1st 2 hex digits correspond to one of the VMCALL_MONITOR_INTERFACE
@@ -29,9 +28,7 @@
* - The 0x01 identifies it as the 1st instance of a VMCALL_VIRTPART type of
* VMCALL.
*/
enum vmcall_monitor_interface_method_tuple {
VMCALL_CONTROLVM_ADDR = 0x0501,
};
#define VMCALL_CONTROLVM_ADDR 0x0501
enum vmcall_result {
VMCALL_RESULT_SUCCESS = 0,