@@ -7,7 +7,7 @@
#ifndef __ASM_ARCH_GICV3_H
#define __ASM_ARCH_GICV3_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/io.h>
#include <linux/io-64-nonatomic-lo-hi.h>
@@ -257,5 +257,5 @@ static inline bool gic_has_relaxed_pmr_sync(void)
return false;
}
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#endif /* !__ASM_ARCH_GICV3_H */
@@ -13,7 +13,7 @@
#ifndef __ASM_ASSEMBLER_H__
#define __ASM_ASSEMBLER_H__
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#error "Only include this from assembly code"
#endif
@@ -2,7 +2,7 @@
#ifndef __ASM_BARRIER_H
#define __ASM_BARRIER_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#define nop() __asm__ __volatile__("mov\tr0,r0\t@ nop\n\t");
@@ -99,5 +99,5 @@ static inline unsigned long array_index_mask_nospec(unsigned long idx,
#include <asm-generic/barrier.h>
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#endif /* __ASM_BARRIER_H */
@@ -26,7 +26,7 @@
#define __read_mostly __section(".data..read_mostly")
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#ifdef CONFIG_ARCH_HAS_CACHE_LINE_SIZE
int cache_line_size(void);
#endif
@@ -40,7 +40,7 @@
#define CR_AFE (1 << 29) /* Access flag enable */
#define CR_TE (1 << 30) /* Thumb exception enable */
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#if __LINUX_ARM_ARCH__ >= 4
#define vectors_high() (get_cr() & CR_V)
@@ -117,6 +117,6 @@ static inline unsigned long get_cr(void)
#endif /* ifdef CONFIG_CPU_CP15 / else */
-#endif /* ifndef __ASSEMBLY__ */
+#endif /* ifndef __ASSEMBLER__ */
#endif
@@ -109,7 +109,7 @@
/* Qualcomm implemented cores */
#define ARM_CPU_PART_SCORPION 0x510002d0
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/stringify.h>
#include <linux/kernel.h>
@@ -343,6 +343,6 @@ static inline int __attribute_const__ cpuid_feature_extract_field(u32 features,
#define cpuid_feature_extract(reg, field) \
cpuid_feature_extract_field(read_cpuid_ext(reg), field)
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif
@@ -7,7 +7,7 @@
#ifndef _ASM_ARM_CURRENT_H
#define _ASM_ARM_CURRENT_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <asm/insn.h>
struct task_struct;
@@ -60,6 +60,6 @@ static __always_inline __attribute_const__ struct task_struct *get_current(void)
#define current get_current()
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* _ASM_ARM_CURRENT_H */
@@ -41,7 +41,7 @@
#define UDELAY_MULT UL(2147 * HZ + 483648 * HZ / 1000000)
#define UDELAY_SHIFT 31
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct delay_timer {
unsigned long (*read_current_timer)(void);
@@ -94,7 +94,7 @@ extern void __loop_const_udelay(unsigned long);
#define ARCH_HAS_READ_CURRENT_TIMER
extern void register_current_timer_delay(const struct delay_timer *timer);
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* defined(_ARM_DELAY_H) */
@@ -7,7 +7,7 @@
#ifndef __ASM_PROC_DOMAIN_H
#define __ASM_PROC_DOMAIN_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/thread_info.h>
#include <asm/barrier.h>
#endif
@@ -79,7 +79,7 @@
#define DACR_UACCESS_ENABLE \
(__DACR_DEFAULT | domain_val(DOMAIN_USER, DOMAIN_CLIENT))
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#ifdef CONFIG_CPU_CP15_MMU
static __always_inline unsigned int get_domain(void)
@@ -124,7 +124,7 @@ static __always_inline void set_domain(unsigned int val)
#define TUSERCOND(instr, cond) #instr #cond
#endif
-#else /* __ASSEMBLY__ */
+#else /* __ASSEMBLER__ */
/*
* Generate the T (user) versions of the LDR/STR and related
@@ -136,6 +136,6 @@ static __always_inline void set_domain(unsigned int val)
#define TUSER(instr) instr
#endif
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* !__ASM_PROC_DOMAIN_H */
@@ -9,7 +9,7 @@
#define __ASM_ARM_FPSTATE_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* VFP storage area has:
@@ -12,7 +12,7 @@
#define MCOUNT_ADDR ((unsigned long)(__gnu_mcount_nc))
#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern void __gnu_mcount_nc(void);
#ifdef CONFIG_DYNAMIC_FTRACE
@@ -33,7 +33,7 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr)
#endif
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND)
/*
@@ -79,6 +79,6 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self,
unsigned long frame_pointer,
unsigned long stack_pointer);
-#endif /* ifndef __ASSEMBLY__ */
+#endif /* ifndef __ASSEMBLER__ */
#endif /* _ASM_ARM_FTRACE */
@@ -1,7 +1,7 @@
#ifndef __ASM_ARM_HARDWARE_CACHE_B15_RAC_H
#define __ASM_ARM_HARDWARE_CACHE_B15_RAC_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
void b15_flush_kern_cache_all(void);
@@ -147,7 +147,7 @@
#define L2X0_WAY_SIZE_SHIFT 3
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern void __init l2x0_init(void __iomem *base, u32 aux_val, u32 aux_mask);
#if defined(CONFIG_CACHE_L2X0) && defined(CONFIG_OF)
extern int l2x0_of_init(u32 aux_val, u32 aux_mask);
@@ -187,6 +187,6 @@ struct l2x0_regs {
extern struct l2x0_regs l2x0_saved_regs;
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif
@@ -15,7 +15,7 @@
#define DC21285_PCI_IO 0x7c000000
#define DC21285_PCI_MEM 0x80000000
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <mach/hardware.h>
#define DC21285_IO(x) ((volatile unsigned long *)(ARMCSR_BASE+(x)))
#else
@@ -10,7 +10,7 @@
#ifndef __ASMARM_HARDWARE_IOC_H
#define __ASMARM_HARDWARE_IOC_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* We use __raw_base variants here so that we give the compiler the
@@ -11,7 +11,7 @@
#define __ASMARM_HARDWARE_IOMD_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* We use __raw_base variants here so that we give the compiler the
@@ -167,7 +167,7 @@
#define VDMA_START IOMD_VIDSTART
#define VDMA_END IOMD_VIDEND
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern unsigned int vram_half_sam;
#define video_set_dma(start,end,offset) \
do { \
@@ -10,7 +10,7 @@
#define VDMA_START 1
#define VDMA_END 2
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern void memc_write(unsigned int reg, unsigned long val);
#define video_set_dma(start,end,offset) \
@@ -4,7 +4,7 @@
#include <uapi/asm/hwcap.h>
-#if !defined(__ASSEMBLY__)
+#if !defined(__ASSEMBLER__)
/*
* This yields a mask that user programs can use to figure out what
* instruction set this cpu supports.
@@ -22,7 +22,7 @@
#define NO_IRQ ((unsigned int)(-1))
#endif
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct irqaction;
struct pt_regs;
@@ -2,7 +2,7 @@
#ifndef _ASM_ARM_JUMP_LABEL_H
#define _ASM_ARM_JUMP_LABEL_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/types.h>
#include <asm/unified.h>
@@ -49,5 +49,5 @@ struct jump_entry {
jump_label_t key;
};
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif
@@ -16,7 +16,7 @@
#define KEXEC_ARM_ATAGS_OFFSET 0x1000
#define KEXEC_ARM_ZIMAGE_OFFSET 0x8000
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#define ARCH_HAS_KIMAGE_ARCH
struct kimage_arch {
@@ -78,6 +78,6 @@ static inline struct page *boot_pfn_to_page(unsigned long boot_pfn)
}
#define boot_pfn_to_page boot_pfn_to_page
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* _ARM_KEXEC_H */
@@ -39,7 +39,7 @@
#define KGDB_COMPILED_BREAK 0xe7ffdeff
#define CACHE_FLUSH_IS_SAFE 1
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
static inline void arch_kgdb_breakpoint(void)
{
@@ -49,7 +49,7 @@ static inline void arch_kgdb_breakpoint(void)
extern void kgdb_handle_bus_error(void);
extern int kgdb_fault_expected;
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
/*
* From Kevin Hilman:
@@ -7,7 +7,7 @@
#include <linux/types.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/reboot.h>
struct tag;
@@ -24,7 +24,7 @@
#define MAX_NR_CLUSTERS 2
#endif
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/types.h>
#include <asm/cacheflush.h>
@@ -307,7 +307,7 @@ struct sync_struct {
#include <asm/asm-offsets.h>
#define __CACHE_WRITEBACK_GRANULE CACHE_WRITEBACK_GRANULE
-#endif /* ! __ASSEMBLY__ */
+#endif /* ! __ASSEMBLER__ */
/* Definitions for mcpm_sync_struct */
#define CPU_DOWN 0x11
@@ -98,7 +98,7 @@
#else /* CONFIG_MMU */
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern unsigned long setup_vectors_base(void);
extern unsigned long vectors_base;
#define VECTORS_BASE vectors_base
@@ -155,7 +155,7 @@ extern unsigned long vectors_base;
*/
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET)
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* Physical start and end address of the kernel sections. These addresses are
@@ -91,7 +91,7 @@
#define PMSAv7_DATA_SIDE 0
#define PMSAv7_INSTR_SIDE 1
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct mpu_rgn {
/* Assume same attributes for d/i-side */
@@ -128,6 +128,6 @@ static inline void pmsav7_setup(void) {};
static inline void pmsav8_setup(void) {};
#endif
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif
@@ -6,7 +6,7 @@
#ifndef __ASM_ARM_OPCODES_H
#define __ASM_ARM_OPCODES_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/linkage.h>
extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
#endif
@@ -71,7 +71,7 @@ extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
* involving inline assembler. For .S files, the normal __opcode_*() macros
* should do the right thing.
*/
-#ifdef __ASSEMBLY__
+#ifdef __ASSEMBLER__
#define ___opcode_swab32(x) ___asm_opcode_swab32(x)
#define ___opcode_swab16(x) ___asm_opcode_swab16(x)
@@ -80,7 +80,7 @@ extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
#define ___opcode_identity32(x) ___asm_opcode_identity32(x)
#define ___opcode_identity16(x) ___asm_opcode_identity16(x)
-#else /* ! __ASSEMBLY__ */
+#else /* ! __ASSEMBLER__ */
#include <linux/types.h>
#include <linux/swab.h>
@@ -92,7 +92,7 @@ extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
#define ___opcode_identity32(x) ((u32)(x))
#define ___opcode_identity16(x) ((u16)(x))
-#endif /* ! __ASSEMBLY__ */
+#endif /* ! __ASSEMBLER__ */
#ifdef CONFIG_CPU_ENDIAN_BE8
@@ -111,7 +111,7 @@ extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
#define ___asm_opcode_to_mem_arm(x) ___asm_opcode_identity32(x)
#define ___asm_opcode_to_mem_thumb16(x) ___asm_opcode_identity16(x)
#ifdef CONFIG_CPU_ENDIAN_BE32
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* On BE32 systems, using 32-bit accesses to store Thumb instructions will not
* work in all cases, due to alignment constraints. For now, a correct
@@ -219,7 +219,7 @@ extern __u32 __opcode_to_mem_thumb32(__u32);
#endif
/* Helpers for the helpers. Don't use these directly. */
-#ifdef __ASSEMBLY__
+#ifdef __ASSEMBLER__
#define ___inst_arm(x) .long x
#define ___inst_thumb16(x) .short x
#define ___inst_thumb32(first, second) .short first, second
@@ -9,7 +9,7 @@
#include <vdso/page.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#ifndef CONFIG_MMU
@@ -180,7 +180,7 @@ extern int pfn_valid(unsigned long);
#define pfn_valid pfn_valid
#endif
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#include <asm/memory.h>
@@ -175,7 +175,7 @@
#define L_PTE_MT_VECTORS (_AT(pteval_t, 0x0f) << 2) /* 1111 */
#define L_PTE_MT_MASK (_AT(pteval_t, 0x0f) << 2)
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* The "pud_xxx()" functions here are trivial when the pmd is folded into
@@ -242,6 +242,6 @@ static inline pmd_t *pmd_offset(pud_t *pud, unsigned long addr)
*/
#define pmd_hugewillfault(pmd) (0)
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* _ASM_PGTABLE_2LEVEL_H */
@@ -109,7 +109,7 @@
*/
#define L_PGD_SWAPPER (_AT(pgdval_t, 1) << 55) /* swapper_pg_dir entry */
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#define pud_none(pud) (!pud_val(pud))
#define pud_bad(pud) (!(pud_val(pud) & PUD_TABLE_BIT))
@@ -245,6 +245,6 @@ static inline void set_pmd_at(struct mm_struct *mm, unsigned long addr,
flush_pmd_entry(pmdp);
}
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* _ASM_PGTABLE_3LEVEL_H */
@@ -8,7 +8,7 @@
#ifndef _ASMARM_PGTABLE_NOMMU_H
#define _ASMARM_PGTABLE_NOMMU_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/slab.h>
#include <asm/processor.h>
@@ -84,6 +84,6 @@ extern unsigned int kobjsize(const void *objp);
#define v6_user_fns (0)
#define xscale_mc_user_fns (0)
-#endif /*__ASSEMBLY__*/
+#endif /*__ASSEMBLER__*/
#endif /* _ASMARM_PGTABLE_H */
@@ -10,7 +10,7 @@
#include <linux/const.h>
#include <asm/proc-fns.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* ZERO_PAGE is a global shared page that is always zero: used
* for zero-mapped memory areas etc..
@@ -52,7 +52,7 @@ extern struct page *empty_zero_page;
#define LIBRARY_TEXT_START 0x0c000000
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern void __pte_error(const char *file, int line, pte_t);
extern void __pmd_error(const char *file, int line, pmd_t);
extern void __pgd_error(const char *file, int line, pgd_t);
@@ -135,7 +135,7 @@ extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
__pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED | L_PTE_XN)
#endif
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
/*
* The table below defines the page protection levels that we insert into our
@@ -146,7 +146,7 @@ extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
* 3) write implies read permissions
*/
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
@@ -329,7 +329,7 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
#define HAVE_ARCH_UNMAPPED_AREA
#define HAVE_ARCH_UNMAPPED_AREA_TOPDOWN
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#endif /* CONFIG_MMU */
@@ -11,7 +11,7 @@
#ifndef _ASM_PROBES_H
#define _ASM_PROBES_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
typedef u32 probes_opcode_t;
@@ -37,7 +37,7 @@ struct arch_probes_insn {
bool kprobe_direct_exec;
};
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
/*
* We assume one instruction can consume at most 64 bytes stack, which is
@@ -13,7 +13,7 @@
#include <asm/glue-proc.h>
#include <asm/page.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct mm_struct;
@@ -196,6 +196,6 @@ static inline void cpu_set_ttbcr(unsigned int ttbcr)
#endif
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* __KERNEL__ */
#endif /* __ASM_PROCFNS_H */
@@ -9,7 +9,7 @@
#include <uapi/asm/ptrace.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/bitfield.h>
#include <linux/types.h>
@@ -198,5 +198,5 @@ static inline unsigned long it_advance(unsigned long cpsr)
int syscall_trace_enter(struct pt_regs *regs);
void syscall_trace_exit(struct pt_regs *regs);
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif
@@ -14,7 +14,7 @@
#define CPU_ARCH_ARMv7 9
#define CPU_ARCH_ARMv7M 10
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/* information about the system we're running on */
extern unsigned int system_rev;
@@ -25,6 +25,6 @@ extern unsigned int mem_fclk_21285;
extern int __pure cpu_architecture(void);
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#endif /* __ASM_ARM_SYSTEM_INFO_H */
@@ -2,7 +2,7 @@
#ifndef __ASM_ARM_SYSTEM_MISC_H
#define __ASM_ARM_SYSTEM_MISC_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/compiler.h>
#include <linux/linkage.h>
@@ -37,6 +37,6 @@ static inline void harden_branch_predictor(void)
extern unsigned int user_debug;
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#endif /* __ASM_ARM_SYSTEM_MISC_H */
@@ -33,7 +33,7 @@
#define OVERFLOW_STACK_SIZE SZ_4K
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct task_struct;
@@ -9,7 +9,7 @@
#ifdef __KERNEL__
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/notifier.h>
#include <asm/thread_info.h>
@@ -7,7 +7,7 @@
#ifndef _ASMARM_TLBFLUSH_H
#define _ASMARM_TLBFLUSH_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
# include <linux/mm_types.h>
#endif
@@ -200,7 +200,7 @@
#error Unknown TLB model
#endif
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/sched.h>
@@ -641,7 +641,7 @@ static inline void update_mmu_cache_range(struct vm_fault *vmf,
#elif defined(CONFIG_SMP) /* !CONFIG_MMU */
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
static inline void local_flush_tlb_all(void) { }
static inline void local_flush_tlb_mm(struct mm_struct *mm) { }
static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) { }
@@ -657,11 +657,11 @@ extern void flush_tlb_kernel_page(unsigned long kaddr);
extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
extern void flush_tlb_kernel_range(unsigned long start, unsigned long end);
extern void flush_bp_all(void);
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#ifdef CONFIG_ARM_ERRATA_798181
extern void erratum_a15_798181_init(void);
#else
@@ -5,7 +5,7 @@
#include <linux/compiler.h>
#include <asm/thread_info.h>
-#ifdef __ASSEMBLY__
+#ifdef __ASSEMBLER__
#include <asm/asm-offsets.h>
.macro switch_tls_none, base, tp, tpuser, tmp1, tmp2
.endm
@@ -68,7 +68,7 @@ ALT_UP_B(.L0_\@)
#define switch_tls switch_tls_software
#endif
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
static inline void set_tls(unsigned long val)
{
@@ -8,7 +8,7 @@
#ifndef __ASM_UNIFIED_H
#define __ASM_UNIFIED_H
-#if defined(__ASSEMBLY__)
+#if defined(__ASSEMBLER__)
.syntax unified
#else
__asm__(".syntax unified");
@@ -29,7 +29,7 @@ __asm__(".syntax unified");
#define ARM(x...)
#define THUMB(x...) x
-#ifdef __ASSEMBLY__
+#ifdef __ASSEMBLER__
#define W(instr) instr.w
#else
#define WASM(instr) #instr ".w"
@@ -42,7 +42,7 @@ __asm__(".syntax unified");
#define ARM(x...) x
#define THUMB(x...)
-#ifdef __ASSEMBLY__
+#ifdef __ASSEMBLER__
#define W(instr) instr
#else
#define WASM(instr) #instr
@@ -8,7 +8,7 @@
#ifndef __ASM_UNWIND_H
#define __ASM_UNWIND_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/* Unwind reason code according the the ARM EABI documents */
enum unwind_reason_code {
@@ -44,7 +44,7 @@ void __aeabi_unwind_cpp_pr0(void);
void __aeabi_unwind_cpp_pr1(void);
void __aeabi_unwind_cpp_pr2(void);
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#ifdef CONFIG_ARM_UNWIND
#define UNWIND(code...) code
@@ -89,10 +89,10 @@
#define V7M_SCB_DCCISW 0x274 /* D-cache clean and invalidate by set-way */
#define V7M_SCB_BPIALL 0x278 /* D-cache clean and invalidate by set-way */
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
enum reboot_mode;
void armv7m_restart(enum reboot_mode mode, const char *cmd);
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
@@ -6,7 +6,7 @@
#define __VDSO_PAGES 4
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct mm_struct;
@@ -26,7 +26,7 @@ static inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr)
#endif /* CONFIG_VDSO */
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* __KERNEL__ */
@@ -5,7 +5,7 @@
#ifndef __ASM_VDSO_CP15_H
#define __ASM_VDSO_CP15_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#ifdef CONFIG_CPU_CP15
@@ -33,6 +33,6 @@
#endif /* CONFIG_CPU_CP15 */
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* __ASM_VDSO_CP15_H */
@@ -5,7 +5,7 @@
#ifndef __ASM_VDSO_GETTIMEOFDAY_H
#define __ASM_VDSO_GETTIMEOFDAY_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <asm/barrier.h>
#include <asm/errno.h>
@@ -135,6 +135,6 @@ static __always_inline u64 __arch_get_hw_counter(int clock_mode,
#endif
}
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#endif /* __ASM_VDSO_GETTIMEOFDAY_H */
@@ -5,7 +5,7 @@
#ifndef __ASM_VDSO_PROCESSOR_H
#define __ASM_VDSO_PROCESSOR_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#if __LINUX_ARM_ARCH__ == 6 || defined(CONFIG_ARM_ERRATA_754327)
#define cpu_relax() \
@@ -17,6 +17,6 @@
#define cpu_relax() barrier()
#endif
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* __ASM_VDSO_PROCESSOR_H */
@@ -2,7 +2,7 @@
#ifndef __ASM_VDSO_VSYSCALL_H
#define __ASM_VDSO_VSYSCALL_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <vdso/datapage.h>
#include <asm/cacheflush.h>
@@ -17,6 +17,6 @@ void __arch_sync_vdso_time_data(struct vdso_time_data *vdata)
/* The asm-generic header needs to be included after the definitions above */
#include <asm-generic/vdso/vsyscall.h>
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
#endif /* __ASM_VDSO_VSYSCALL_H */
@@ -90,7 +90,7 @@
#define VFPOPDESC_UNUSED_MASK (0xFF << VFPOPDESC_UNUSED_BIT)
#define VFPOPDESC_OPDESC_MASK (~(VFPOPDESC_LENGTH_MASK | VFPOPDESC_UNUSED_MASK))
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
void vfp_disable(void);
#endif
@@ -15,7 +15,7 @@
*/
#define BOOT_CPU_MODE_MISMATCH PSR_N_BIT
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <asm/cacheflush.h>
#ifdef CONFIG_ARM_VIRT_EXT
@@ -74,7 +74,7 @@ static inline bool is_kernel_in_hyp_mode(void)
#define HVC_SET_VECTORS 0
#define HVC_SOFT_RESTART 1
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#define HVC_STUB_ERR 0xbadca11
@@ -25,7 +25,7 @@
#define AT91_PM_ULP1 0x03
#define AT91_PM_BACKUP 0x04
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct at91_pm_data {
void __iomem *pmc;
void __iomem *ramc[2];
@@ -32,11 +32,11 @@
#define SMC_REG_CLASS_SFR_W (0x1 << 30)
#define SMC_REG_ID_SFR_W(addr) (SMC_REG_CLASS_SFR_W | ((addr) >> 2))
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern void exynos_smc(u32 cmd, u32 arg1, u32 arg2, u32 arg3);
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
/* op type for SMC_CMD_SAVE and SMC_CMD_SHUTDOWN */
#define OP_TYPE_CORE 0x0
@@ -79,7 +79,7 @@
#define CPLD_UNMUTE 2
#define CPLD_FLASH_WR_ENABLE 1
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern raw_spinlock_t nw_gpio_lock;
extern void nw_gpio_modify_op(unsigned int mask, unsigned int set);
extern void nw_gpio_modify_io(unsigned int mask, unsigned int in);
@@ -7,7 +7,7 @@
#ifndef __ASM_ARCH_MXC_HARDWARE_H__
#define __ASM_ARCH_MXC_HARDWARE_H__
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <asm/io.h>
#include <soc/imx/revision.h>
#endif
@@ -16,7 +16,7 @@
#define IMX_DDR_TYPE_LPDDR2 1
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#ifdef CONFIG_SOC_IMX6SL
static inline bool cpu_is_imx6sl(void)
@@ -18,7 +18,7 @@
#include "am33xx.h"
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#define OMAP242X_CTRL_REGADDR(reg) \
OMAP2_L4_IO_ADDRESS(OMAP242X_CTRL_BASE + (reg))
#define OMAP243X_CTRL_REGADDR(reg) \
@@ -36,7 +36,7 @@
OMAP2_L4_IO_ADDRESS(OMAP343X_CTRL_BASE + (reg))
#define AM33XX_CTRL_REGADDR(reg) \
AM33XX_L4_WK_IO_ADDRESS(AM33XX_SCM_BASE + (reg))
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
/*
* As elsewhere, the "OMAP2_" prefix indicates that the macro is valid for
@@ -503,7 +503,7 @@
#define FEAT_NEON_NONE 1
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#ifdef CONFIG_ARCH_OMAP2PLUS
extern u8 omap_ctrl_readb(u16 offset);
extern u16 omap_ctrl_readw(u16 offset);
@@ -534,7 +534,7 @@ int omap_control_init(void);
#define omap_ctrl_writel(x, y) WARN_ON(1)
#define omap4_ctrl_pad_writel(x, y) WARN_ON(1)
#endif
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* __ARCH_ARM_MACH_OMAP2_CONTROL_H */
@@ -19,7 +19,7 @@
#include "am33xx.h"
#include "omap54xx.h"
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/bitops.h>
#include <linux/of.h>
@@ -501,4 +501,4 @@ level(__##fn);
#define cpu_is_ti816x() soc_is_ti816x()
#define cpu_is_ti81xx() soc_is_ti81xx()
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
@@ -3,7 +3,7 @@
* Interface for functions that need to be run in internal SRAM
*/
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
extern void omap2_sram_ddr_init(u32 *slow_dll_ctrl, u32 fast_dll_ctrl,
u32 base_cs, u32 force_unlock);
@@ -48,7 +48,7 @@ extern void omap_push_sram_idle(void);
static inline void omap_push_sram_idle(void) {}
#endif /* CONFIG_PM */
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
/*
* OMAP2+: define the SRAM PA addresses.
@@ -94,7 +94,7 @@
#define PXA_NR_IRQS (IRQ_BOARD_START)
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
struct irq_data;
struct pt_regs;
@@ -31,7 +31,7 @@
#define io_v2p(x) (0x3c000000 + ((x) & 0x01ffffff) + (((x) & 0x0e000000) << 1))
#define io_p2v(x) IOMEM(0xf2000000 + ((x) & 0x01ffffff) + (((x) & 0x1c000000) >> 1))
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
# define __REG(x) (*((volatile u32 __iomem *)io_p2v(x)))
/* With indexed regs we don't want to feed the index through io_p2v()
@@ -20,7 +20,7 @@
#define S3C_ADDR_BASE 0xF6000000
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#define S3C_ADDR(x) ((void __iomem __force *)S3C_ADDR_BASE + (x))
#else
#define S3C_ADDR(x) (S3C_ADDR_BASE + (x))
@@ -15,7 +15,7 @@
#ifndef __BITFIELD_H
#define __BITFIELD_H
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#define UData(Data) ((unsigned long) (Data))
#else
#define UData(Data) (Data)
@@ -39,7 +39,7 @@
#define __MREG(x) IOMEM(io_p2v(x))
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
# define __REG(x) (*((volatile unsigned long __iomem *)io_p2v(x)))
# define __PREG(x) (io_v2p((unsigned long)&(x)))
@@ -21,7 +21,7 @@
#define RESET_DATA(x) ((TEGRA_RESET_##x)*4)
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include "irammap.h"
@@ -38,7 +38,7 @@
#define TEGRA_FLUSH_CACHE_LOUIS 0
#define TEGRA_FLUSH_CACHE_ALL 1
-#ifdef __ASSEMBLY__
+#ifdef __ASSEMBLER__
/* waits until the microsecond counter (base) is > rn */
.macro wait_until, rn, base, tmp
add \rn, \rn, #1
@@ -29,7 +29,7 @@ END {
printf(" */\n\n");
printf("#ifndef __ASM_ARM_MACH_TYPE_H\n");
printf("#define __ASM_ARM_MACH_TYPE_H\n\n");
- printf("#ifndef __ASSEMBLY__\n");
+ printf("#ifndef __ASSEMBLER__\n");
printf("/* The type of machine we're running on */\n");
printf("extern unsigned int __machine_arch_type;\n");
printf("#endif\n\n");
@@ -558,7 +558,7 @@
#define EMIF_SRAM_AM33_REG_LAYOUT 0x00000000
#define EMIF_SRAM_AM43_REG_LAYOUT 0x00000001
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* Structure containing shadow of important registers in EMIF
* The calculation function fills in this structure to be later used for
@@ -603,5 +603,5 @@ void ti_emif_enter_sr(void);
void ti_emif_exit_sr(void);
void ti_emif_abort_sr(void);
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* __EMIF_H */
@@ -8,7 +8,7 @@
#include <linux/args.h>
#include <linux/init.h>
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
#include <linux/uuid.h>
#endif
@@ -353,7 +353,7 @@ s32 arm_smccc_get_soc_id_version(void);
*/
s32 arm_smccc_get_soc_id_revision(void);
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
/*
* Returns whether a specific hypervisor UUID is advertised for the
@@ -402,7 +402,7 @@ static inline u32 smccc_uuid_to_reg(const uuid_t *uuid, int reg)
return val;
}
-#endif /* !__ASSEMBLY__ */
+#endif /* !__ASSEMBLER__ */
/**
* struct arm_smccc_res - Result from SMC/HVC call