summaryrefslogtreecommitdiff
path: root/src/arch/armv7
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/armv7')
-rw-r--r--src/arch/armv7/include/system.h2
-rw-r--r--src/arch/armv7/init.S1
-rw-r--r--src/arch/armv7/start.S1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/arch/armv7/include/system.h b/src/arch/armv7/include/system.h
index 3e14fdb0a5..c74ce8c20c 100644
--- a/src/arch/armv7/include/system.h
+++ b/src/arch/armv7/include/system.h
@@ -60,7 +60,7 @@
#define arch_align_stack(x) (x)
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
static inline unsigned int get_cr(void)
{
unsigned int val;
diff --git a/src/arch/armv7/init.S b/src/arch/armv7/init.S
index 033637e89a..7848581dae 100644
--- a/src/arch/armv7/init.S
+++ b/src/arch/armv7/init.S
@@ -29,7 +29,6 @@
* MA 02111-1307 USA
*/
-#define __ASSEMBLY__
#include <system.h>
.globl _start
diff --git a/src/arch/armv7/start.S b/src/arch/armv7/start.S
index 63cac4b98e..8af48eb71b 100644
--- a/src/arch/armv7/start.S
+++ b/src/arch/armv7/start.S
@@ -29,7 +29,6 @@
* MA 02111-1307 USA
*/
-#define __ASSEMBLY__
#include <system.h>
.globl _start