File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
src/unix/linux_like/linux/arch Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ cfg_if! {
104
104
pub const SO_DETACH_REUSEPORT_BPF : :: c_int = 68 ;
105
105
}
106
106
}
107
+ // pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
108
+ // pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;
107
109
108
110
cfg_if ! {
109
111
if #[ cfg( any( target_arch = "x86" ,
@@ -114,16 +116,8 @@ cfg_if! {
114
116
target_arch = "s390x" ) ) ] {
115
117
pub const FICLONE : :: c_ulong = 0x40049409 ;
116
118
pub const FICLONERANGE : :: c_ulong = 0x4020940D ;
117
- } else if #[ cfg( any( target_arch = "mips" ,
118
- target_arch = "mips64" ,
119
- target_arch = "powerpc" ,
120
- target_arch = "powerpc64" ) ) ] {
121
- pub const FICLONE : :: c_ulong = 0x80049409 ;
122
- pub const FICLONERANGE : :: c_ulong = 0x8020940D ;
123
119
}
124
120
}
125
- // pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
126
- // pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;
127
121
128
122
// Defined in unix/linux_like/mod.rs
129
123
// pub const SCM_TIMESTAMP: ::c_int = SO_TIMESTAMP;
Original file line number Diff line number Diff line change @@ -103,6 +103,9 @@ pub const SO_TIMESTAMPING: ::c_int = 37;
103
103
// pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
104
104
// pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;
105
105
106
+ pub const FICLONE : :: c_ulong = 0x80049409 ;
107
+ pub const FICLONERANGE : :: c_ulong = 0x8020940D ;
108
+
106
109
// Defined in unix/linux_like/mod.rs
107
110
// pub const SCM_TIMESTAMP: ::c_int = SO_TIMESTAMP;
108
111
pub const SCM_TIMESTAMPNS : :: c_int = SO_TIMESTAMPNS ;
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ pub const SO_BINDTOIFINDEX: ::c_int = 62;
85
85
// pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
86
86
// pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;
87
87
88
+ pub const FICLONE : :: c_ulong = 0x80049409 ;
89
+ pub const FICLONERANGE : :: c_ulong = 0x8020940D ;
90
+
88
91
// Defined in unix/linux_like/mod.rs
89
92
// pub const SCM_TIMESTAMP: ::c_int = SO_TIMESTAMP;
90
93
pub const SCM_TIMESTAMPNS : :: c_int = SO_TIMESTAMPNS ;
You can’t perform that action at this time.
0 commit comments