Conditionally include <bsp/linker-symbols.h>

Remove superfluous <bsp.h> include.
This commit is contained in:
Sebastian Huber 2020-08-05 14:49:11 +02:00
parent c4233ce8ac
commit bd7e6eeb31

View File

@ -48,8 +48,6 @@
#include <machine/rtems-bsd-kernel-space.h>
#include <machine/rtems-bsd-cache.h>
#include <machine/rtems-bsd-bus-dma.h>
#include <bsp.h>
#include <bsp/linker-symbols.h>
#include <rtems/malloc.h>
@ -61,6 +59,10 @@
#define CLMASK (CLSZ - (uintptr_t) 1)
#endif
#ifdef __arm__
#include <bsp/linker-symbols.h>
#endif
/*
* Convenience function for manipulating driver locks from busdma (during
* busdma_swi, for example). Drivers that don't provide their own locks