Skip to content

Commit 40741ba

Browse files
authored
Merge pull request #3547 from Dirreke/csky-ioctl-flags
fix ioctl FS_IOC_* version and flag of csky
2 parents 9ec2033 + 24a6acc commit 40741ba

File tree

1 file changed

+1
-1
lines changed
  • src/unix/linux_like/linux/arch/generic

1 file changed

+1
-1
lines changed

src/unix/linux_like/linux/arch/generic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ cfg_if! {
218218
// where S stands for size (int, long, struct...)
219219
// where T stands for type ('f','v','X'...)
220220
// where N stands for NR (NumbeR)
221-
if #[cfg(any(target_arch = "x86", target_arch = "arm"))] {
221+
if #[cfg(any(target_arch = "x86", target_arch = "arm", target_arch = "csky"))] {
222222
pub const FS_IOC_GETFLAGS: ::Ioctl = 0x80046601;
223223
pub const FS_IOC_SETFLAGS: ::Ioctl = 0x40046602;
224224
pub const FS_IOC_GETVERSION: ::Ioctl = 0x80047601;

0 commit comments

Comments
 (0)