Commit d7d18ad
committed
rust: add preempt_[disable|enable]_notrace
Make it possible to disable preemption in a region of Rust code. For
now, this is implemented using helpers.
Signed-off-by: Alice Ryhl <aliceryhl@google.com>1 parent bc3c00f commit d7d18ad
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
168 | 180 | | |
169 | 181 | | |
170 | 182 | | |
| |||
0 commit comments