Skip to content
Snippets Groups Projects
Commit 2f7aa897 authored by Siew Chin Lim's avatar Siew Chin Lim Committed by Tom Rini
Browse files

common: Add "ifndef __ASSEMBLY__" in asm/global_data.h


Commit "common: Drop asm/global_data.h from common header" added
asm/global_data.h into secure.h. However, secure.h will be included
by psci.S. Adding asm/global_data.h has caused compilation failure in
pcsi.S. Add "ifndef __ASSEMBLY__" in asm/global_data.h.

Signed-off-by: default avatarSiew Chin Lim <elly.siew.chin.lim@intel.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent df88a0e5
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@
#ifndef __ASM_GBL_DATA_H
#define __ASM_GBL_DATA_H
#ifndef __ASSEMBLY__
#include <asm/types.h>
#include <linux/types.h>
......@@ -125,4 +127,6 @@ static inline void set_gd(volatile gd_t *gd_ptr)
#endif
}
#endif /* __ASSEMBLY__ */
#endif /* __ASM_GBL_DATA_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment