linux/barebox-wrapper: Silence gcc5 warning
gcc5 warns about using flags uninitialized in spin_lock_irqsave,
although it could look into the static inline spin_lock_irqsave
implementation and see it's not used at all. An empty define instead
of the static inline wrapper would lead to a "unused variable" warning.
Let's create a macro and fake some usage of the flags variable. This
probably helps until gcc6 is out.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ce4dc6d commit f256280006afbf51ddf267c69ca4f5b229696c7c
@Sascha Hauer Sascha Hauer authored on 10 Dec 2015
Showing 1 changed file
View
include/linux/barebox-wrapper.h