mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
staging: vchiq: Move conditional barrier definition into vchiq_core.h
The barrier is only used by core code. So keep the barrier definition in the core header. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200629150945.10720-45-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9d52311134
commit
3d212a835c
2 changed files with 12 additions and 11 deletions
|
@ -6,15 +6,4 @@
|
|||
|
||||
#include "vchiq_if.h"
|
||||
|
||||
/* Do this so that we can test-build the code on non-rpi systems */
|
||||
#if IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE)
|
||||
|
||||
#else
|
||||
|
||||
#ifndef dsb
|
||||
#define dsb(a)
|
||||
#endif
|
||||
|
||||
#endif /* IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE) */
|
||||
|
||||
#endif
|
||||
|
|
|
@ -15,6 +15,18 @@
|
|||
|
||||
#include "vchiq.h"
|
||||
|
||||
/* Do this so that we can test-build the code on non-rpi systems */
|
||||
#if IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE)
|
||||
|
||||
#else
|
||||
|
||||
#ifndef dsb
|
||||
#define dsb(a)
|
||||
#endif
|
||||
|
||||
#endif /* IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE) */
|
||||
|
||||
|
||||
/* Run time control of log level, based on KERN_XXX level. */
|
||||
#define VCHIQ_LOG_DEFAULT 4
|
||||
#define VCHIQ_LOG_ERROR 3
|
||||
|
|
Loading…
Reference in a new issue