soc: intel_adsp: fix inclusion of sys/util.h under XCC assembler
This moves the inclusion of sys/util.h inside the #if block to avoid this being included when going through XCC's assembler. With the old behavior, a bunch of std*.h get pulled in resulted in build failure as keywords such as "typedef" are not supposed to be in assembly files according to XCC assembler. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
cca65a986e
commit
5fbe389d9f
4 changed files with 4 additions and 4 deletions
|
@ -9,10 +9,10 @@
|
|||
#ifndef __PLATFORM_LIB_SHIM_H__
|
||||
#define __PLATFORM_LIB_SHIM_H__
|
||||
|
||||
#include <sys/util.h>
|
||||
#include <soc/memory.h>
|
||||
|
||||
#ifndef ASSEMBLY
|
||||
#include <sys/util.h>
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
#ifndef __PLATFORM_LIB_SHIM_H__
|
||||
#define __PLATFORM_LIB_SHIM_H__
|
||||
|
||||
#include <sys/util.h>
|
||||
#include <soc/memory.h>
|
||||
|
||||
#ifndef ASSEMBLY
|
||||
#include <sys/util.h>
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
#ifndef __PLATFORM_LIB_SHIM_H__
|
||||
#define __PLATFORM_LIB_SHIM_H__
|
||||
|
||||
#include <sys/util.h>
|
||||
#include <soc/memory.h>
|
||||
|
||||
#ifndef ASSEMBLY
|
||||
#include <sys/util.h>
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
#ifndef __PLATFORM_LIB_SHIM_H__
|
||||
#define __PLATFORM_LIB_SHIM_H__
|
||||
|
||||
#include <sys/util.h>
|
||||
#include <soc/memory.h>
|
||||
|
||||
#ifndef ASSEMBLY
|
||||
#include <sys/util.h>
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue