linux/arch/m68k/include/asm
Thomas Huth 7164aacfce m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers
While the GCC and Clang compilers already define __ASSEMBLER__
automatically when compiling assembly code, __ASSEMBLY__ is a
macro that only gets defined by the Makefiles in the kernel.
This can be very confusing when switching between userspace
and kernelspace coding, or when dealing with uapi headers that
rather should use __ASSEMBLER__ instead. So let's standardize on
the __ASSEMBLER__ macro that is provided by the compilers now.

This is almost a completely mechanical patch (done with a simple
"sed -i" statement), with one comment tweaked manually in
arch/m68k/include/asm/mac_baboon.h (which was missing underscores).

Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/20250611114056.118309-3-thuth@redhat.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2025-07-06 12:50:50 +02:00
..
adb_iop.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
amigahw.h
amigaints.h
amigayle.h
amipcmcia.h
apollohw.h
asm-offsets.h
asm-prototypes.h
atari_joystick.h
atari_stdma.h
atari_stram.h
atarihw.h
atariints.h
atarikb.h
atomic.h locking/atomic: m68k: add preprocessor symbols 2023-06-05 09:57:16 +02:00
bitops.h mm: delete checks for xor_unlock_is_negative_byte() 2023-10-18 14:34:17 -07:00
blinken.h
bootinfo.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
bootstd.h
bug.h
bvme6000hw.h
cache.h
cacheflush_mm.h mm: Introduce flush_cache_vmap_early() 2023-12-14 00:23:17 -08:00
cacheflush_no.h m68knommu: use asm-generic/cacheflush.h 2020-06-08 11:05:57 -07:00
cacheflush.h
cachetype.h Introduce cpu_dcache_is_aliasing() across all architectures 2024-02-22 15:27:19 -08:00
checksum.h saner calling conventions for csum_and_copy_..._user() 2020-08-20 15:45:15 -04:00
cmpxchg.h m68k: cmpxchg: Use swap() to improve code 2024-08-26 10:24:34 +02:00
coldfire.h
config.h m68k: Introduce a virtual m68k machine 2022-04-11 11:48:01 +02:00
contregs.h
current.h m68k: Implement "current_stack_pointer" 2022-02-26 20:32:03 -08:00
delay.h
div64.h m68k: Define __div64_32() to avoid a warning 2023-08-21 13:27:43 +02:00
dma.h PCI: Move isa_dma_bridge_buggy out of asm/dma.h 2022-07-22 17:24:47 -05:00
dsp56k.h
dvma.h m68k: sun3: Improve Sun3/3x DVMA abstraction in <asm/dvma.h> 2023-10-06 10:03:03 +02:00
elf.h m68knommu: add definitions to support elf_fdpic program loader 2022-05-16 13:18:30 +10:00
entry.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
fbio.h
flat.h
floppy.h floppy: use symbolic register names in the m68k port 2020-05-12 19:34:52 +03:00
fpu.h
ftrace.h
hash.h
hp300hw.h
hwtest.h
idprom.h
intersil.h
io_mm.h asm/io: remove unnecessary xlate_dev_mem_ptr() and unxlate_dev_mem_ptr() 2023-11-23 10:37:40 +01:00
io_no.h m68k/nommu: stop using GENERIC_IOMAP 2025-03-15 11:07:07 +01:00
io.h m68k: Introduce a virtual m68k machine 2022-04-11 11:48:01 +02:00
irq.h m68k: Make sure NR_IRQS is never zero 2024-11-06 15:10:14 +01:00
irqflags.h
Kbuild asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
kexec.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
kmap.h arch/*/io.h: remove ioremap_uc in some architectures 2023-11-23 10:32:52 +01:00
libgcc.h m68k: libgcc: Fix lvalue abuse in umul_ppmm() 2025-01-10 10:26:52 +01:00
linkage.h
m52xxacr.h
m53xxacr.h m68knommu: fix overwriting of bits in ColdFire V3 cache control 2020-07-27 12:32:00 +10:00
m53xxsim.h
m54xxacr.h
m54xxgpt.h
m54xxpci.h
m54xxsim.h
m520xsim.h
m523xsim.h
m525xsim.h
m527xsim.h
m528xsim.h
m5206sim.h
m5272sim.h
m5307sim.h
m5407sim.h
m5441xsim.h m68k: m5441x: add flexcan support 2021-08-23 08:40:04 +10:00
mac_asc.h
mac_baboon.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
mac_iop.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
mac_oss.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
mac_psc.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
mac_via.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
machdep.h More power management updates for 5.19-rc1 2022-05-30 11:37:26 -07:00
machines.h
machw.h
macintosh.h
macints.h
math-emu.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
mc146818rtc.h
MC68EZ328.h
MC68VZ328.h
MC68328.h
mcf8390.h
mcf_pgalloc.h m68k: mm: call ctor/dtor for kernel PTEs 2025-05-11 17:48:21 -07:00
mcf_pgtable.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
mcfclk.h m68k: coldfire: remove private clk_get/clk_put 2021-06-08 17:00:09 +02:00
mcfdma.h
mcfgpio.h m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x 2024-11-11 08:57:01 +10:00
mcfintc.h
mcfmmu.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
mcfpit.h
mcfqspi.h
mcfsim.h
mcfslt.h
mcftimer.h
mcfuart.h
mcfwdebug.h
mmu_context.h m68k: allow pte_offset_map[_lock]() to fail 2023-06-19 16:19:06 -07:00
mmu.h m68knommu: use asm-generic/mmu.h for nommu setups 2022-05-16 13:18:30 +10:00
module.h
module.lds.h kbuild: preprocess module linker script 2020-09-25 00:36:41 +09:00
motorola_pgalloc.h mm: pass mm down to pagetable_{pte,pmd}_ctor 2025-05-11 17:48:21 -07:00
motorola_pgtable.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
movs.h
mvme16xhw.h m68k: mvme147, mvme16x: Adopt rtc-m48t59 platform driver 2024-11-22 20:59:40 +01:00
mvme147hw.h RTC for 6.13 2024-11-30 11:18:16 -08:00
natfeat.h
nettel.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
nubus.h
openprom.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
oplib.h m68k: sun3: Annotate prom_printf() with __printf() 2023-10-06 10:03:04 +02:00
page_mm.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
page_no.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
page_offset.h
page.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
parport.h
pci.h PCI: Remove pci_get_legacy_ide_irq() and asm-generic/pci.h 2022-07-22 17:23:45 -05:00
pgalloc.h
pgtable_mm.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
pgtable_no.h m68k: mm: Move paging_init() to common <asm/pgtable.h> 2023-10-06 10:03:02 +02:00
pgtable.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
processor.h m68k: sun3: Fix DEBUG_MMU_EMU build 2025-02-03 14:32:51 +01:00
ptrace.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
q40_master.h
q40ints.h
quicc_simple.h
raw_io.h m68k: io: Mark mmio read addresses as const 2023-10-06 10:03:04 +02:00
seccomp.h m68k: Add kernel seccomp support 2023-01-30 16:40:15 +01:00
serial.h
setup.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
signal.h
smp.h
string.h m68k: Add memcmp() declaration 2023-08-21 13:27:44 +02:00
sun3_pgalloc.h mm: pgtable: convert some architectures to use tlb_remove_ptdesc() 2025-04-01 15:17:13 -07:00
sun3_pgtable.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
sun3-head.h
sun3ints.h
sun3mmu.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
sun3x.h
sun3xflop.h m68k: sun3x: Remove unneeded semicolon 2021-04-19 12:11:55 +02:00
sun3xprom.h
switch_to.h
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
syscalls.h m68k: kernel: Add and use <asm/syscalls.h> 2023-10-06 10:03:01 +02:00
thread_info.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
timex.h m68k: use fallback for random_get_entropy() instead of zero 2022-05-13 23:59:23 +02:00
tlb.h
tlbflush.h m68k: sun3: Fix indentation by 5 or 7 spaces 2023-10-16 14:30:39 +02:00
traps.h m68k: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-07-06 12:50:50 +02:00
uaccess.h uaccess: generalize access_ok() 2022-02-25 09:36:05 +01:00
ucontext.h
unistd.h clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
user.h asm/user.h: killed unused macros 2022-01-30 21:17:00 -05:00
vga.h m68k: vga: Fix I/O defines 2025-01-08 18:04:36 +01:00
video.h arch: Rename fbdev header and source files 2024-05-03 17:07:50 +02:00
virt.h m68k: Introduce a virtual m68k machine 2022-04-11 11:48:01 +02:00
virtconvert.h asm-generic: provide generic page_to_phys and phys_to_page implementations 2024-10-28 21:44:28 +00:00
vmalloc.h
zorro.h