Skip to content

Commit

Permalink
Merge pull request #3547 from Dirreke/csky-ioctl-flags
Browse files Browse the repository at this point in the history
fix ioctl FS_IOC_* version and flag of csky
  • Loading branch information
JohnTitor authored Jan 20, 2024
2 parents 9ec2033 + 24a6acc commit 40741ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/linux_like/linux/arch/generic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ cfg_if! {
// where S stands for size (int, long, struct...)
// where T stands for type ('f','v','X'...)
// where N stands for NR (NumbeR)
if #[cfg(any(target_arch = "x86", target_arch = "arm"))] {
if #[cfg(any(target_arch = "x86", target_arch = "arm", target_arch = "csky"))] {
pub const FS_IOC_GETFLAGS: ::Ioctl = 0x80046601;
pub const FS_IOC_SETFLAGS: ::Ioctl = 0x40046602;
pub const FS_IOC_GETVERSION: ::Ioctl = 0x80047601;
Expand Down

0 comments on commit 40741ba

Please sign in to comment.