WSL2-Linux-Kernel/arch/m68k/include/asm
Anshuman Khandual 78e7c5af08 mm/special: create generic fallbacks for pte_special() and pte_mkspecial()
Currently there are many platforms that dont enable ARCH_HAS_PTE_SPECIAL
but required to define quite similar fallback stubs for special page
table entry helpers such as pte_special() and pte_mkspecial(), as they
get build in generic MM without a config check.  This creates two
generic fallback stub definitions for these helpers, eliminating much
code duplication.

mips platform has a special case where pte_special() and pte_mkspecial()
visibility is wider than what ARCH_HAS_PTE_SPECIAL enablement requires.
This restricts those symbol visibility in order to avoid redefinitions
which is now exposed through this new generic stubs and subsequent build
failure.  arm platform set_pte_at() definition needs to be moved into a
C file just to prevent a build failure.

[anshuman.khandual@arm.com: use defined(CONFIG_ARCH_HAS_PTE_SPECIAL) in mips per Thomas]
  Link: http://lkml.kernel.org/r/1583851924-21603-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Guo Ren <guoren@kernel.org>			[csky]
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>	[m68k]
Acked-by: Stafford Horne <shorne@gmail.com>		[openrisc]
Acked-by: Helge Deller <deller@gmx.de>			[parisc]
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Brian Cain <bcain@codeaurora.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Sam Creasey <sammy@sammy.net>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Link: http://lkml.kernel.org/r/1583802551-15406-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-10 15:36:21 -07:00
..
Kbuild asm-generic: make more kernel-space headers mandatory 2020-04-02 09:35:25 -07:00
MC68EZ328.h
MC68VZ328.h
MC68328.h
adb_iop.h
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 m68k: atari: Rename shifter to shifter_st to avoid conflict 2019-08-19 13:24:10 +02:00
atariints.h
atarikb.h
atomic.h atomics/treewide: Make unconditional inc/dec ops optional 2018-06-21 14:25:24 +02:00
bitops.h fls: change parameter to unsigned int 2019-01-04 13:13:46 -08:00
blinken.h
bootinfo.h
bootstd.h
bug.h bug.h: work around GCC PR82365 in BUG() 2018-02-21 15:35:43 -08:00
bugs.h
bvme6000hw.h
cache.h
cacheflush.h
cacheflush_mm.h
cacheflush_no.h
checksum.h
cmpxchg.h
coldfire.h
contregs.h
current.h
delay.h m68k: Implement ndelay() as an inline function to force type checking/casting 2018-05-22 10:31:52 +02:00
div64.h
dma.h m68knommu: Fix typos in Coldfire 5272 DMA debug code 2018-07-30 09:15:01 +10:00
dsp56k.h
dvma.h
elf.h
entry.h
export.h export: explicitly align struct kernel_symbol 2019-09-10 10:30:09 +02:00
fb.h
fbio.h
flat.h binfmt_flat: provide an asm-generic/flat.h 2019-06-24 09:16:47 +10:00
floppy.h
fpu.h
ftrace.h
gpio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
hash.h
hp300hw.h
hwtest.h
ide.h
idprom.h
intersil.h
io.h m68k/io: Switch mmu variant to <asm-generic/io.h> 2018-07-29 10:48:18 +02:00
io_mm.h m68k: Prevent some compiler warnings in Coldfire builds 2019-08-19 13:24:10 +02:00
io_no.h m68k/io: Switch mmu variant to <asm-generic/io.h> 2018-07-29 10:48:18 +02:00
irq.h
irqflags.h
kexec.h
kmap.h remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
linkage.h
m52xxacr.h
m53xxacr.h
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: add ColdFire mcf5441x eDMA platform support 2019-02-25 11:04:05 +10:00
mac_asc.h
mac_baboon.h
mac_iop.h
mac_oss.h
mac_psc.h
mac_via.h
machdep.h m68k: Remove unused set_clock_mmss() helpers 2018-07-29 10:48:18 +02:00
machines.h
machw.h
macintosh.h m68k: Prevent some compiler warnings in Coldfire builds 2019-08-19 13:24:10 +02:00
macints.h m68k/mac: Clean up unused timer definitions 2019-01-21 10:36:53 +01:00
math-emu.h
mc146818rtc.h
mcf8390.h
mcf_pgalloc.h m68k: mm: Change ColdFire pgtable_t 2020-02-10 10:57:48 +01:00
mcf_pgtable.h mm/special: create generic fallbacks for pte_special() and pte_mkspecial() 2020-04-10 15:36:21 -07:00
mcfclk.h
mcfdma.h
mcfgpio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
mcfintc.h
mcfmmu.h
mcfpit.h
mcfqspi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mcfsim.h
mcfslt.h
mcftimer.h
mcfuart.h
mcfwdebug.h
mmu.h
mmu_context.h m68k: mm: use pgtable-nopXd instead of 4level-fixup 2019-12-04 19:44:15 -08:00
mmzone.h
module.h
motorola_pgalloc.h m68k: mm: Extend table allocator for multiple sizes 2020-02-10 10:57:48 +01:00
motorola_pgtable.h mm/special: create generic fallbacks for pte_special() and pte_mkspecial() 2020-04-10 15:36:21 -07:00
movs.h
mvme16xhw.h
mvme147hw.h m68k: mvme147: Handle timer counter overflow 2019-03-25 10:22:24 +01:00
natfeat.h
nettel.h
nubus.h m68k: group io mapping definitions and functions 2018-05-28 09:45:26 +10:00
openprom.h
oplib.h
page.h mm/vma: define a default value for VM_DATA_DEFAULT_FLAGS 2020-04-10 15:36:21 -07:00
page_mm.h
page_no.h m68k/page_no.h: force __va argument to be unsigned long 2018-07-29 10:48:18 +02:00
page_offset.h
parport.h
pci.h PCI: remove PCI_DMA_BUS_IS_PHYS 2018-05-07 07:15:41 +02:00
pgalloc.h
pgtable.h
pgtable_mm.h m68k: mm: Restructure Motorola MMU page-table layout 2020-02-10 10:57:48 +01:00
pgtable_no.h m68k: nommu: use pgtable-nopud instead of 4level-fixup 2019-12-04 19:44:15 -08:00
processor.h treewide: remove current_text_addr 2018-10-31 08:54:12 -07:00
ptrace.h
q40_master.h m68k: group io mapping definitions and functions 2018-05-28 09:45:26 +10:00
q40ints.h
quicc_simple.h
raw_io.h m68k: Unroll raw_outsb() loop 2018-12-03 13:05:42 +01:00
segment.h get rid of legacy 'get_ds()' function 2019-03-04 10:50:14 -08:00
serial.h
setup.h
signal.h
smp.h
string.h
sun3-head.h
sun3_pgalloc.h m68k: mm: use pgtable-nopXd instead of 4level-fixup 2019-12-04 19:44:15 -08:00
sun3_pgtable.h mm/special: create generic fallbacks for pte_special() and pte_mkspecial() 2020-04-10 15:36:21 -07:00
sun3ints.h
sun3mmu.h
sun3x.h
sun3xflop.h
sun3xprom.h
switch_to.h
syscall.h syscall_get_arch: add "struct task_struct *" argument 2019-03-20 21:12:36 -04:00
thread_info.h
timex.h
tlb.h arch/tlb: Clean up simple architectures 2019-04-03 10:32:54 +02:00
tlbflush.h
traps.h
uaccess.h
uaccess_mm.h Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
uaccess_no.h m68knommu: Remove mm.h include from uaccess_no.h 2020-03-28 11:45:39 +01:00
ucontext.h
unaligned.h
unistd.h m68k: Wire up clone3() syscall 2020-01-12 16:49:20 +01:00
user.h
vga.h m68k: don't redefine access functions if we have PCI 2018-05-28 09:45:26 +10:00
virtconvert.h m68k: put definition guards around virt_to_phys and phys_to_virt 2018-05-28 09:45:25 +10:00
vmalloc.h mm/vmalloc: Add empty <asm/vmalloc.h> headers and use them from <linux/vmalloc.h> 2019-12-10 10:12:55 +01:00
zorro.h m68k: group io mapping definitions and functions 2018-05-28 09:45:26 +10:00