Consistently use types provided by <linux/types.h> via <drm/drm.h> to fix the following linux/kfd_ioctl.h userspace compilation errors: /usr/include/linux/kfd_ioctl.h:250:2: error: unknown type name 'uint32_t' uint32_t reset_type; /usr/include/linux/kfd_ioctl.h:251:2: error: unknown type name 'uint32_t' uint32_t reset_cause; /usr/include/linux/kfd_ioctl.h:252:2: error: unknown type name 'uint32_t' uint32_t memory_lost; /usr/include/linux/kfd_ioctl.h:253:2: error: unknown type name 'uint32_t' uint32_t gpu_id;
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -255,10 +255,10 @@ struct kfd_hsa_memory_exception_data { · 254 unmodified lines | |||
| 255 | 255 | ||
| 256 | /* hw exception data */ | 256 | /* hw exception data */ |
| 257 | struct kfd_hsa_hw_exception_data { | 257 | struct kfd_hsa_hw_exception_data { |
| 258 | uint32_t reset_type; | 258 | __u32 reset_type; |
| 259 | uint32_t reset_cause; | 259 | __u32 reset_cause; |
| 260 | uint32_t memory_lost; | 260 | __u32 memory_lost; |
| 261 | uint32_t gpu_id; | 261 | __u32 gpu_id; |
| 262 | }; | 262 | }; |
| 263 | 263 | ||
| 264 | /* Event data */ | 264 | /* Event data */ |