Commit 36396f3c authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] s/__ASSEMBLER__/__ASSEMBLY__/ for clarity sake.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e584ade1
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define _ASM_HAZARDS_H #define _ASM_HAZARDS_H
#ifdef __ASSEMBLER__ #ifdef __ASSEMBLY__
#define ASMMACRO(name, code...) .macro name; code; .endm #define ASMMACRO(name, code...) .macro name; code; .endm
#else #else
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#define EXCITE_CPU_EXT_CLOCK 100000000 #define EXCITE_CPU_EXT_CLOCK 100000000
#if !defined(__ASSEMBLER__) #if !defined(__ASSEMBLY__)
void __init excite_kgdb_init(void); void __init excite_kgdb_init(void);
void excite_procfs_init(void); void excite_procfs_init(void);
extern unsigned long memsize; extern unsigned long memsize;
......
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
* Note: you'll need to define uint32_t and uint64_t in your headers. * Note: you'll need to define uint32_t and uint64_t in your headers.
*/ */
#if !defined(__ASSEMBLER__) #if !defined(__ASSEMBLY__)
#define _SB_MAKE64(x) ((uint64_t)(x)) #define _SB_MAKE64(x) ((uint64_t)(x))
#define _SB_MAKE32(x) ((uint32_t)(x)) #define _SB_MAKE32(x) ((uint32_t)(x))
#else #else
...@@ -251,9 +251,9 @@ ...@@ -251,9 +251,9 @@
*/ */
#if defined(__mips64) && !defined(__ASSEMBLER__) #if defined(__mips64) && !defined(__ASSEMBLY__)
#define SBWRITECSR(csr,val) *((volatile uint64_t *) PHYS_TO_K1(csr)) = (val) #define SBWRITECSR(csr,val) *((volatile uint64_t *) PHYS_TO_K1(csr)) = (val)
#define SBREADCSR(csr) (*((volatile uint64_t *) PHYS_TO_K1(csr))) #define SBREADCSR(csr) (*((volatile uint64_t *) PHYS_TO_K1(csr)))
#endif /* __ASSEMBLER__ */ #endif /* __ASSEMBLY__ */
#endif #endif
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
* (For the assembler version, sysrev and dest may be the same register. * (For the assembler version, sysrev and dest may be the same register.
* Also, it clobbers AT.) * Also, it clobbers AT.)
*/ */
#ifdef __ASSEMBLER__ #ifdef __ASSEMBLY__
#define SYS_SOC_TYPE(dest, sysrev) \ #define SYS_SOC_TYPE(dest, sysrev) \
.set push ; \ .set push ; \
.set reorder ; \ .set reorder ; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment