diff options
author | Benjamin Romer <benjamin.romer@unisys.com> | 2014-07-31 12:00:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-01 17:38:45 -0400 |
commit | ec03a7db3213031734c7e50d3841877c409b1b61 (patch) | |
tree | 393aad53ae39996cb3c0c707b9315d2f8bc258d5 | |
parent | c14f13ba30fcaa11a1149465dfaa3c8aa633afa7 (diff) |
staging: unisys: remove S64 type
This patch switches all use of the S64 typedef to use the kernel's s64 type
instead.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/unisys/include/commontypes.h | 2 | ||||
-rw-r--r-- | drivers/staging/unisys/include/uisutils.h | 4 | ||||
-rw-r--r-- | drivers/staging/unisys/visorchipset/file.c | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/drivers/staging/unisys/include/commontypes.h b/drivers/staging/unisys/include/commontypes.h index 4e89cdf8df95..fee1b21a27c8 100644 --- a/drivers/staging/unisys/include/commontypes.h +++ b/drivers/staging/unisys/include/commontypes.h | |||
@@ -30,8 +30,6 @@ | |||
30 | #include <syslog.h> | 30 | #include <syslog.h> |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #define S64 int64_t | ||
34 | |||
35 | #ifdef __KERNEL__ | 33 | #ifdef __KERNEL__ |
36 | 34 | ||
37 | #ifdef CONFIG_X86_32 | 35 | #ifdef CONFIG_X86_32 |
diff --git a/drivers/staging/unisys/include/uisutils.h b/drivers/staging/unisys/include/uisutils.h index 26b69379638d..a1c193c5827e 100644 --- a/drivers/staging/unisys/include/uisutils.h +++ b/drivers/staging/unisys/include/uisutils.h | |||
@@ -262,7 +262,7 @@ Issue_VMCALL_IO_VISORSERIAL_ADDR(u64 *DiagChannelAddress) | |||
262 | return result; | 262 | return result; |
263 | } | 263 | } |
264 | 264 | ||
265 | static inline S64 Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET(void) | 265 | static inline s64 Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET(void) |
266 | { | 266 | { |
267 | u64 result = VMCALL_SUCCESS; | 267 | u64 result = VMCALL_SUCCESS; |
268 | u64 physaddr = 0; | 268 | u64 physaddr = 0; |
@@ -272,7 +272,7 @@ static inline S64 Issue_VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET(void) | |||
272 | return result; | 272 | return result; |
273 | } | 273 | } |
274 | 274 | ||
275 | static inline S64 Issue_VMCALL_MEASUREMENT_DO_NOTHING(void) | 275 | static inline s64 Issue_VMCALL_MEASUREMENT_DO_NOTHING(void) |
276 | { | 276 | { |
277 | u64 result = VMCALL_SUCCESS; | 277 | u64 result = VMCALL_SUCCESS; |
278 | u64 physaddr = 0; | 278 | u64 physaddr = 0; |
diff --git a/drivers/staging/unisys/visorchipset/file.c b/drivers/staging/unisys/visorchipset/file.c index fccc4f0c3a49..bf2e546d76bf 100644 --- a/drivers/staging/unisys/visorchipset/file.c +++ b/drivers/staging/unisys/visorchipset/file.c | |||
@@ -190,8 +190,8 @@ visorchipset_ioctl(struct inode *inode, struct file *file, | |||
190 | #endif | 190 | #endif |
191 | { | 191 | { |
192 | int rc = SUCCESS; | 192 | int rc = SUCCESS; |
193 | S64 adjustment; | 193 | s64 adjustment; |
194 | S64 vrtc_offset; | 194 | s64 vrtc_offset; |
195 | DBGINF("entered visorchipset_ioctl, cmd=%d", cmd); | 195 | DBGINF("entered visorchipset_ioctl, cmd=%d", cmd); |
196 | switch (cmd) { | 196 | switch (cmd) { |
197 | case VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET: | 197 | case VMCALL_QUERY_GUEST_VIRTUAL_TIME_OFFSET: |