mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
ringbuffer: Make ring buffer access irq-save
We have to temporarily disable nterrupts when performing rinbuffer operations, as the ring buffer is used both from IRQ as well as process context.
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define TRACE_LEVEL 6
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
Reference in New Issue
Block a user