File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,16 @@ pub const CAPGET: i32 = 184;
61
61
#[ cfg( target_arch = "x86" ) ]
62
62
pub const CAPSET : i32 = 185 ;
63
63
64
- #[ cfg( target_arch = "x86_64" ) ]
64
+ #[ cfg( all ( target_arch = "x86_64" , target_pointer_width = "64" ) ) ]
65
65
pub const CAPGET : i64 = 125 ;
66
- #[ cfg( target_arch = "x86_64" ) ]
66
+ #[ cfg( all ( target_arch = "x86_64" , target_pointer_width = "64" ) ) ]
67
67
pub const CAPSET : i64 = 126 ;
68
68
69
+ #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
70
+ pub const CAPGET : i32 = 0x40000000 + 125 ;
71
+ #[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
72
+ pub const CAPSET : i32 = 0x40000000 + 126 ;
73
+
69
74
#[ cfg( target_arch = "aarch64" ) ]
70
75
pub const CAPGET : i64 = 90 ;
71
76
#[ cfg( target_arch = "aarch64" ) ]
You can’t perform that action at this time.
0 commit comments