Commit 40b3e1ac authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman

staging: unisys: visorbus: get rid of ISSUE_IO_VMCALL

The macro ISSUE_IO_VMCALL was a wrapper around the function unisys_vmcall.
It doesn't need to exist and was just being noisy, so get rid of it.
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Reviewed-by: default avatarReviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c9808ff1
...@@ -1362,7 +1362,7 @@ issue_vmcall_io_controlvm_addr(u64 *control_addr, u32 *control_bytes) ...@@ -1362,7 +1362,7 @@ issue_vmcall_io_controlvm_addr(u64 *control_addr, u32 *control_bytes)
u64 physaddr; u64 physaddr;
physaddr = virt_to_phys(&params); physaddr = virt_to_phys(&params);
ISSUE_IO_VMCALL(VMCALL_CONTROLVM_ADDR, physaddr, result); unisys_vmcall(VMCALL_CONTROLVM_ADDR, physaddr, result);
if (VMCALL_SUCCESSFUL(result)) { if (VMCALL_SUCCESSFUL(result)) {
*control_addr = params.address; *control_addr = params.address;
*control_bytes = params.channel_bytes; *control_bytes = params.channel_bytes;
......
...@@ -81,12 +81,10 @@ enum vmcall_monitor_interface_method_tuple { /* VMCALL identification tuples */ ...@@ -81,12 +81,10 @@ enum vmcall_monitor_interface_method_tuple { /* VMCALL identification tuples */
#define VMCALL_SUCCESS 0 #define VMCALL_SUCCESS 0
#define VMCALL_SUCCESSFUL(result) (result == 0) #define VMCALL_SUCCESSFUL(result) (result == 0)
#define unisys_vmcall(tuple, reg_ebx, reg_ecx) \
__unisys_vmcall_gnuc(tuple, reg_ebx, reg_ecx)
#define unisys_extended_vmcall(tuple, reg_ebx, reg_ecx, reg_edx) \ #define unisys_extended_vmcall(tuple, reg_ebx, reg_ecx, reg_edx) \
__unisys_extended_vmcall_gnuc(tuple, reg_ebx, reg_ecx, reg_edx) __unisys_extended_vmcall_gnuc(tuple, reg_ebx, reg_ecx, reg_edx)
#define ISSUE_IO_VMCALL(method, param, result) \ #define unisys_vmcall(method, param, result) \
(result = unisys_vmcall(method, (param) & 0xFFFFFFFF, \ (result = __unisys_vmcall_gnuc((method), (param) & 0xFFFFFFFF, \
(param) >> 32)) (param) >> 32))
/* Structures for IO VMCALLs */ /* Structures for IO VMCALLs */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment