]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: modify sys_dax.h for new libdax
authorJonathan Helman <jonathan.helman@oracle.com>
Thu, 27 Apr 2017 16:11:10 +0000 (09:11 -0700)
committerShannon Nelson <shannon.nelson@oracle.com>
Wed, 31 May 2017 23:43:47 +0000 (16:43 -0700)
commit04f4ebc92e1754ea4a287c189765c5f96044b1e7
tree2d385f7bace05b664511707e0784955955c766dc
parent4c325a32b2b73b2b6a0b7f263827be7412e08956
sparc64: modify sys_dax.h for new libdax

Orabug: 25927572

Modify sys_dax.h such that new libdax can be compiled by including this
file unmodified. Userspace does not have u16, u32, etc. types defined and
as stated in Section 5e of Documentation/CodingStyle, we should be using
__u16, __u32, etc. in the ioctl structures which are exported to userspace.

Further, rename the DAXIOC_DEP_[number] ioctls and use DAXIOC_[name]_OLD
instead.

Signed-off-by: Jonathan Helman <jonathan.helman@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Reviewed-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/dax/dax_main.c
arch/sparc/dax/sys_dax.h