Commit af96e9c0 authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: remove GUEST_PHYSICAL_ADDRESS from commontypes.h

The typedef for GUEST_PHYSICAL address is only used in two files, so remove it
from commontypes.h and add it to visorchipset/file.c and controlvmchannel.h.
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2046fcca
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
#include "commontypes.h" #include "commontypes.h"
#include "channel.h" #include "channel.h"
#include "controlframework.h" #include "controlframework.h"
typedef u64 GUEST_PHYSICAL_ADDRESS;
enum { INVALID_GUEST_FIRMWARE, SAMPLE_GUEST_FIRMWARE, enum { INVALID_GUEST_FIRMWARE, SAMPLE_GUEST_FIRMWARE,
TIANO32_GUEST_FIRMWARE, TIANO64_GUEST_FIRMWARE TIANO32_GUEST_FIRMWARE, TIANO64_GUEST_FIRMWARE
}; };
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/uuid.h> #include <linux/uuid.h>
typedef u64 GUEST_PHYSICAL_ADDRESS;
#define OFFSETOF offsetof #define OFFSETOF offsetof
#define CHANNEL_GUID_MISMATCH(chType, chName, field, expected, actual, fil, \ #define CHANNEL_GUID_MISMATCH(chType, chName, field, expected, actual, fil, \
......
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
#define CURRENT_FILE_PC VISOR_CHIPSET_PC_file_c #define CURRENT_FILE_PC VISOR_CHIPSET_PC_file_c
typedef u64 GUEST_PHYSICAL_ADDRESS;
static struct cdev Cdev; static struct cdev Cdev;
static VISORCHANNEL **PControlVm_channel; static VISORCHANNEL **PControlVm_channel;
static dev_t MajorDev = -1; /**< indicates major num for device */ static dev_t MajorDev = -1; /**< indicates major num for device */
......
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