Skip to content

Commit 6630e09

Browse files
committed
add missing MIPS R6 FS_IOC_* definitions
1 parent 16827f2 commit 6630e09

File tree

1 file changed

+2
-2
lines changed
  • src/unix/linux_like/linux/arch/mips

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ cfg_if! {
200200
// where S stands for size (int, long, struct...)
201201
// where T stands for type ('f','v','X'...)
202202
// where N stands for NR (NumbeR)
203-
if #[cfg(target_arch = "mips")] {
203+
if #[cfg(any(target_arch = "mips", target_arch = "mips32r6"))] {
204204
pub const FS_IOC_GETFLAGS: ::Ioctl = 0x40046601;
205205
pub const FS_IOC_SETFLAGS: ::Ioctl = 0x80046602;
206206
pub const FS_IOC_GETVERSION: ::Ioctl = 0x40047601;
@@ -209,7 +209,7 @@ cfg_if! {
209209
pub const FS_IOC32_SETFLAGS: ::Ioctl = 0x80046602;
210210
pub const FS_IOC32_GETVERSION: ::Ioctl = 0x40047601;
211211
pub const FS_IOC32_SETVERSION: ::Ioctl = 0x80047602;
212-
} else if #[cfg(target_arch = "mips64")] {
212+
} else if #[cfg(any(target_arch = "mips64", target_arch = "mips64r6"))] {
213213
pub const FS_IOC_GETFLAGS: ::Ioctl = 0x40086601;
214214
pub const FS_IOC_SETFLAGS: ::Ioctl = 0x80086602;
215215
pub const FS_IOC_GETVERSION: ::Ioctl = 0x40087601;

0 commit comments

Comments
 (0)