diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2018-02-06 20:32:46 -0500 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2018-02-06 20:32:46 -0500 |
commit | a11024457d348672b26b3d4581ed19c793399b48 (patch) | |
tree | 4b67d739f488a901c3dbd2eb97168904f133623a /include/uapi/linux/kfd_ioctl.h | |
parent | 26103436da003327017af325483b6150a3b855cc (diff) | |
download | linux-a11024457d348672b26b3d4581ed19c793399b48.tar.gz linux-a11024457d348672b26b3d4581ed19c793399b48.tar.xz |
uapi: Fix type used in ioctl parameter structures
Use __u32 and __u64 instead of POSIX types that may not be defined
in user mode builds.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'include/uapi/linux/kfd_ioctl.h')
-rw-r--r-- | include/uapi/linux/kfd_ioctl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h index f4cab5b3ba9a..111d73ba2d96 100644 --- a/include/uapi/linux/kfd_ioctl.h +++ b/include/uapi/linux/kfd_ioctl.h @@ -263,10 +263,10 @@ struct kfd_ioctl_get_tile_config_args { }; struct kfd_ioctl_set_trap_handler_args { - uint64_t tba_addr; /* to KFD */ - uint64_t tma_addr; /* to KFD */ - uint32_t gpu_id; /* to KFD */ - uint32_t pad; + __u64 tba_addr; /* to KFD */ + __u64 tma_addr; /* to KFD */ + __u32 gpu_id; /* to KFD */ + __u32 pad; }; #define AMDKFD_IOCTL_BASE 'K' |