Skip to content

Commit 9a07431

Browse files
committed
Add ioctl FS_IOC_{G,S}{ETVERSION,ETFLAGS} for LoongArch64
1 parent b56e4b3 commit 9a07431

File tree

1 file changed

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

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,11 @@ cfg_if! {
227227
pub const FS_IOC32_SETFLAGS: ::Ioctl = 0x40046602;
228228
pub const FS_IOC32_GETVERSION: ::Ioctl = 0x80047601;
229229
pub const FS_IOC32_SETVERSION: ::Ioctl = 0x40047602;
230-
} else if #[cfg(any(target_arch = "x86_64", target_arch = "riscv64", target_arch = "aarch64", target_arch = "s390x"))] {
230+
} else if #[cfg(any(target_arch = "x86_64",
231+
target_arch = "riscv64",
232+
target_arch = "aarch64",
233+
target_arch = "s390x",
234+
target_arch = "loongarch64"))] {
231235
pub const FS_IOC_GETFLAGS: ::Ioctl = 0x80086601;
232236
pub const FS_IOC_SETFLAGS: ::Ioctl = 0x40086602;
233237
pub const FS_IOC_GETVERSION: ::Ioctl = 0x80087601;

0 commit comments

Comments
 (0)