Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b04f75ab authored by Colin Cross's avatar Colin Cross
Browse files

libion: update ion_test.h

Update ion_test.h to include a padding word to keep the same
struct size on 32-bit and 64-bit.

Change-Id: I68086ce49ca4cc4ed8e251752eaed331a35fbbd2
parent cd8b953e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -27,10 +27,12 @@ struct ion_test_rw_data {
 __u64 size;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 int write;
 int __padding;
};
#define ION_IOC_MAGIC 'I'
#define ION_IOC_TEST_SET_FD   _IO(ION_IOC_MAGIC, 0xf0)
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define ION_IOC_TEST_SET_FD   _IO(ION_IOC_MAGIC, 0xf0)
#define ION_IOC_TEST_DMA_MAPPING   _IOW(ION_IOC_MAGIC, 0xf1, struct ion_test_rw_data)
#define ION_IOC_TEST_KERNEL_MAPPING   _IOW(ION_IOC_MAGIC, 0xf2, struct ion_test_rw_data)
#endif
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ struct ion_test_rw_data {
	__u64 offset;
	__u64 size;
	int write;
	int __padding;
};

#define ION_IOC_MAGIC		'I'