diff options
author | Benjamin Romer <benjamin.romer@unisys.com> | 2014-07-31 12:00:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-01 17:38:45 -0400 |
commit | 90f3b509bf9be3a8ce6cbd22474b188eba998d1e (patch) | |
tree | c5d8634fdd01b2accc8fdd145db422c100b06a3e | |
parent | 87b7307ae1a3df1f474d4cc7deecc641862d0b87 (diff) |
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>
-rw-r--r-- | drivers/staging/unisys/common-spar/include/channels/channel.h | 4 | ||||
-rw-r--r-- | drivers/staging/unisys/include/commontypes.h | 6 |
2 files changed, 2 insertions, 8 deletions
diff --git a/drivers/staging/unisys/common-spar/include/channels/channel.h b/drivers/staging/unisys/common-spar/include/channels/channel.h index 99533cfaf3df..c1ba1de97985 100644 --- a/drivers/staging/unisys/common-spar/include/channels/channel.h +++ b/drivers/staging/unisys/common-spar/include/channels/channel.h | |||
@@ -295,8 +295,8 @@ typedef struct _SIGNAL_QUEUE_HEADER { | |||
295 | chan->QHDRFLD.Type = typ; \ | 295 | chan->QHDRFLD.Type = typ; \ |
296 | chan->QHDRFLD.Size = sizeof(chan->QDATAFLD); \ | 296 | chan->QHDRFLD.Size = sizeof(chan->QDATAFLD); \ |
297 | chan->QHDRFLD.SignalSize = sizeof(QDATATYPE); \ | 297 | chan->QHDRFLD.SignalSize = sizeof(QDATATYPE); \ |
298 | chan->QHDRFLD.oSignalBase = (UINTN)(chan->QDATAFLD)- \ | 298 | chan->QHDRFLD.oSignalBase = (u64)(chan->QDATAFLD)- \ |
299 | (UINTN)(&chan->QHDRFLD); \ | 299 | (u64)(&chan->QHDRFLD); \ |
300 | chan->QHDRFLD.MaxSignalSlots = \ | 300 | chan->QHDRFLD.MaxSignalSlots = \ |
301 | sizeof(chan->QDATAFLD)/sizeof(QDATATYPE); \ | 301 | sizeof(chan->QDATAFLD)/sizeof(QDATATYPE); \ |
302 | chan->QHDRFLD.MaxSignals = chan->QHDRFLD.MaxSignalSlots-1; \ | 302 | chan->QHDRFLD.MaxSignals = chan->QHDRFLD.MaxSignalSlots-1; \ |
diff --git a/drivers/staging/unisys/include/commontypes.h b/drivers/staging/unisys/include/commontypes.h index b569c348d0f8..7fdf207297de 100644 --- a/drivers/staging/unisys/include/commontypes.h +++ b/drivers/staging/unisys/include/commontypes.h | |||
@@ -25,12 +25,6 @@ | |||
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/uuid.h> | 26 | #include <linux/uuid.h> |
27 | 27 | ||
28 | #ifdef CONFIG_X86_32 | ||
29 | #define UINTN u32 | ||
30 | #else | ||
31 | #define UINTN u64 | ||
32 | #endif | ||
33 | |||
34 | typedef u64 GUEST_PHYSICAL_ADDRESS; | 28 | typedef u64 GUEST_PHYSICAL_ADDRESS; |
35 | 29 | ||
36 | #define MEMSET(ptr, val, len) memset(ptr, val, len) | 30 | #define MEMSET(ptr, val, len) memset(ptr, val, len) |