diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-03-03 17:48:32 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-03-16 22:22:54 +0100 |
commit | 7abdb51f8fa1d43372bfc9ec00bf1ea485f8aaf7 (patch) | |
tree | d6afe4496df1b76bae47cc7035a77ad0caa14114 /firmware/Makefile | |
parent | 7dd3dfd992e385da8be1bbaaeeb1a88ef18cea6d (diff) |
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.
Diffstat (limited to 'firmware/Makefile')
-rw-r--r-- | firmware/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 216d632..59fcf87 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -48,7 +48,7 @@ MEMORIES = flash # TRACE_LEVEL_ERROR 2 # TRACE_LEVEL_FATAL 1 # TRACE_LEVEL_NO_TRACE 0 -TRACE_LEVEL = 1 +TRACE_LEVEL = 4 #FIXME: Remove this variable NOAUTOCALLBACK=no @@ -110,7 +110,7 @@ CFLAGS += -Wmissing-format-attribute -Wno-deprecated-declarations CFLAGS += #-Wpacked CFLAGS += -Wredundant-decls -Wnested-externs -Winline #-Wlong-long CFLAGS += -Wunreachable-code -CFLAGS += -Wcast-align +#CFLAGS += -Wcast-align #CFLAGS += -std=c11 CFLAGS += -Wmissing-noreturn #CFLAGS += -Wconversion |