From 512a67bc09d4194792cfaa100631fb628fbb3ff0 Mon Sep 17 00:00:00 2001
From: David Kershner <david.kershner@unisys.com>
Date: Wed, 13 May 2015 13:22:02 -0400
Subject: [PATCH] staging: unisys: move hypervisor calls into visorbus

Move hypervisor calls into visorbus and move vbusdeviceinfo.h into
visorbus.
Drivers will call into that to update clientInfo field.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 .../unisys/{common-spar/include => visorbus}/iovmcall_gnuc.h  | 0
 .../unisys/{common-spar/include => visorbus}/vbusdeviceinfo.h | 0
 .../{common-spar/include => visorbus}/vmcallinterface.h       | 4 +---
 3 files changed, 1 insertion(+), 3 deletions(-)
 rename drivers/staging/unisys/{common-spar/include => visorbus}/iovmcall_gnuc.h (100%)
 rename drivers/staging/unisys/{common-spar/include => visorbus}/vbusdeviceinfo.h (100%)
 rename drivers/staging/unisys/{common-spar/include => visorbus}/vmcallinterface.h (99%)

diff --git a/drivers/staging/unisys/common-spar/include/iovmcall_gnuc.h b/drivers/staging/unisys/visorbus/iovmcall_gnuc.h
similarity index 100%
rename from drivers/staging/unisys/common-spar/include/iovmcall_gnuc.h
rename to drivers/staging/unisys/visorbus/iovmcall_gnuc.h
diff --git a/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h b/drivers/staging/unisys/visorbus/vbusdeviceinfo.h
similarity index 100%
rename from drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h
rename to drivers/staging/unisys/visorbus/vbusdeviceinfo.h
diff --git a/drivers/staging/unisys/common-spar/include/vmcallinterface.h b/drivers/staging/unisys/visorbus/vmcallinterface.h
similarity index 99%
rename from drivers/staging/unisys/common-spar/include/vmcallinterface.h
rename to drivers/staging/unisys/visorbus/vmcallinterface.h
index 59a7459eb96243..dc09caf7d07524 100644
--- a/drivers/staging/unisys/common-spar/include/vmcallinterface.h
+++ b/drivers/staging/unisys/visorbus/vmcallinterface.h
@@ -85,10 +85,8 @@ enum vmcall_monitor_interface_method_tuple { /* VMCALL identification tuples  */
     /* The following uses VMCALL_POST_CODE_LOGEVENT interface but is currently
      * not used much */
 #define ISSUE_IO_VMCALL_POSTCODE_SEVERITY(postcode, severity)		\
-do {									\
 	ISSUE_IO_EXTENDED_VMCALL(VMCALL_POST_CODE_LOGEVENT, severity,	\
-				 MDS_APPOS, postcode);			\
-} while (0)
+				 MDS_APPOS, postcode)
 #endif
 
 /* Structures for IO VMCALLs */
-- 
GitLab