Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__
[project/bcm63xx/atf.git] / services / std_svc / spm_mm / spm_private.h
index 8e94a282464739a8ab337b65a9bbd1f0da8f2593..ba94a4d0884fd53f7fb496c689df4e318d14761b 100644 (file)
@@ -29,7 +29,7 @@
 #define SP_C_RT_CTX_SIZE       0x60
 #define SP_C_RT_CTX_ENTRIES    (SP_C_RT_CTX_SIZE >> DWORD_SHIFT)
 
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
 
 #include <stdint.h>
 
@@ -66,6 +66,6 @@ int spm_memory_attributes_set_smc_handler(sp_context_t *sp_ctx,
                                          u_register_t pages_count,
                                          u_register_t smc_attributes);
 
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
 
 #endif /* SPM_PRIVATE_H */