Closed mbuesch closed 1 year ago
This merge request now needs git rebase.
(Sorry for not (yet??) contributing to the requested discussion.)
This merge request now needs git rebase.
(Sorry for not (yet??) contributing to the requested discussion.)
... similar to the current without_interrupts() helper.
What do you think about this?
I renamed the existing disable/enable API to with_irqs_disabled(). The new API for suspend/restore is with_irqs_suspended(). The old without_interrupts remains as deprecated alias.
I'm not so sure about the naming. Suggestions for better naming are welcome. :)
This is completely untested. Just for discussion.