43ad6bb2ad
A compat ioctl handler for zpios was added which simply passes the ioctl on to the usual handler. The IOWR macro's correctly handle this. Additionally replace the use of 'struct timespec' which uses longs internally and is therefore different sizes on 32-bit vs 64-bit objects with 'struct zpios_timespec_t'. This custom structure uses uint32_t types internally and is safe to pass through an ioctl. The helper functions for this new type were also moved to a common place so they may be used safely by the user or kernel code. |
||
---|---|---|
.. | ||
zpios-ctl.h | ||
zpios-internal.h |