staging: unisys: remove UINTN type

This patch removes UINTN from commontypes.h, using u64 in the one spot this
type was used.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Benjamin Romer 2014-07-31 12:00:58 -04:00 committed by Greg Kroah-Hartman
parent 87b7307ae1
commit 90f3b509bf
2 changed files with 2 additions and 8 deletions

View File

@ -295,8 +295,8 @@ typedef struct _SIGNAL_QUEUE_HEADER {
chan->QHDRFLD.Type = typ; \
chan->QHDRFLD.Size = sizeof(chan->QDATAFLD); \
chan->QHDRFLD.SignalSize = sizeof(QDATATYPE); \
chan->QHDRFLD.oSignalBase = (UINTN)(chan->QDATAFLD)- \
(UINTN)(&chan->QHDRFLD); \
chan->QHDRFLD.oSignalBase = (u64)(chan->QDATAFLD)- \
(u64)(&chan->QHDRFLD); \
chan->QHDRFLD.MaxSignalSlots = \
sizeof(chan->QDATAFLD)/sizeof(QDATATYPE); \
chan->QHDRFLD.MaxSignals = chan->QHDRFLD.MaxSignalSlots-1; \

View File

@ -25,12 +25,6 @@
#include <linux/io.h>
#include <linux/uuid.h>
#ifdef CONFIG_X86_32
#define UINTN u32
#else
#define UINTN u64
#endif
typedef u64 GUEST_PHYSICAL_ADDRESS;
#define MEMSET(ptr, val, len) memset(ptr, val, len)