linux/arch/sparc/include/asm
Mike Rapoport 65fddcfca8 mm: reorder includes after introduction of linux/pgtable.h
The replacement of <asm/pgrable.h> with <linux/pgtable.h> made the include
of the latter in the middle of asm includes.  Fix this up with the aid of
the below script and manual adjustments here and there.

	import sys
	import re

	if len(sys.argv) is not 3:
	    print "USAGE: %s <file> <header>" % (sys.argv[0])
	    sys.exit(1)

	hdr_to_move="#include <linux/%s>" % sys.argv[2]
	moved = False
	in_hdrs = False

	with open(sys.argv[1], "r") as f:
	    lines = f.readlines()
	    for _line in lines:
		line = _line.rstrip('
')
		if line == hdr_to_move:
		    continue
		if line.startswith("#include <linux/"):
		    in_hdrs = True
		elif not moved and in_hdrs:
		    moved = True
		    print hdr_to_move
		print line

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Cain <bcain@codeaurora.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Greg Ungerer <gerg@linux-m68k.org>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: Guo Ren <guoren@kernel.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Helge Deller <deller@gmx.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
Cc: Mark Salter <msalter@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Rich Felker <dalias@libc.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Stafford Horne <shorne@gmail.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Will Deacon <will@kernel.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Link: http://lkml.kernel.org/r/20200514170327.31389-4-rppt@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-09 09:39:13 -07:00
..
adi.h
adi_64.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
agp.h
apb.h
asm-offsets.h
asm-prototypes.h
asm.h
asmmacro.h
atomic.h
atomic_32.h
atomic_64.h locking/atomic, sparc: Use s64 for atomic64 2019-06-03 12:32:56 +02:00
auxio.h
auxio_32.h
auxio_64.h
backoff.h
barrier.h
barrier_32.h
barrier_64.h
bbc.h
bitext.h
bitops.h
bitops_32.h
bitops_64.h
btext.h
bug.h
bugs.h
cache.h
cacheflush.h
cacheflush_32.h arm,sparc,unicore32: remove flush_icache_user_range 2020-06-08 11:05:57 -07:00
cacheflush_64.h arm,sparc,unicore32: remove flush_icache_user_range 2020-06-08 11:05:57 -07:00
cachetlb_32.h
chafsr.h
checksum.h sparc: switch to providing csum_and_copy_from_user() 2020-05-29 16:11:49 -04:00
checksum_32.h sparc: switch to providing csum_and_copy_from_user() 2020-05-29 16:11:49 -04:00
checksum_64.h sparc: switch to providing csum_and_copy_from_user() 2020-05-29 16:11:49 -04:00
chmctrl.h
clock.h
clocksource.h
cmpxchg.h
cmpxchg_32.h
cmpxchg_64.h sparc64: Rework xchg() definition to avoid warnings. 2018-10-26 15:39:49 -07:00
compat.h compat: provide compat_ptr() on all architectures 2020-01-03 09:32:51 +01:00
compat_signal.h
contregs.h
cpu_type.h
cpudata.h
cpudata_32.h
cpudata_64.h sparc64: Make proc_id signed. 2018-10-14 20:19:31 -07:00
current.h
dcr.h
dcu.h
delay.h
delay_32.h
delay_64.h
device.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 428 2019-06-05 17:37:16 +02:00
dma-mapping.h sparc32: use per-device dma_ops 2020-04-02 18:11:55 -07:00
dma.h sparc: remove the sparc32_dma_ops indirection 2018-12-11 14:45:29 +01:00
ebus_dma.h
ecc.h
eeprom.h
elf.h
elf_32.h
elf_64.h
estate.h
extable_64.h
fb.h
fbio.h
fhc.h
floppy.h
floppy_32.h mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
floppy_64.h floppy: use symbolic register names in the sparc64 port 2020-05-12 19:34:53 +03:00
fpumacro.h
ftrace.h
futex.h
futex_32.h
futex_64.h [parisc, s390, sparc64] no need for access_ok() in futex handling 2020-03-27 23:58:52 -04:00
hardirq.h
hardirq_32.h
hardirq_64.h
head.h
head_32.h
head_64.h
hibernate.h
highmem.h mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
hugetlb.h mm/hugetlb: define a generic fallback for arch_clear_hugepage_flags() 2020-06-03 20:09:46 -07:00
hvtramp.h
hw_irq.h
hypervisor.h
ide.h mm: introduce include/linux/pgtable.h 2020-06-09 09:39:13 -07:00
idprom.h
intr_queue.h
io-unit.h mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
io.h
io_32.h asm-generic: don't provide ioremap for CONFIG_MMU 2019-11-11 21:18:19 +01:00
io_64.h remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
ioctls.h
iommu-common.h
iommu.h
iommu_32.h
iommu_64.h
irq.h
irq_32.h
irq_64.h
irqflags.h
irqflags_32.h
irqflags_64.h
jump_label.h
Kbuild asm-generic: make more kernel-space headers mandatory 2020-04-02 09:35:25 -07:00
kdebug.h
kdebug_32.h
kdebug_64.h
kgdb.h
kmap_types.h
kprobes.h
ldc.h
leon.h DMA mapping updates for Linux 4.21 2018-12-28 14:12:21 -08:00
leon_amba.h
leon_pci.h
lsu.h
machines.h
mbus.h
mc146818rtc.h
mc146818rtc_32.h
mc146818rtc_64.h
mdesc.h
memctrl.h
mman.h
mmu.h
mmu_32.h
mmu_64.h
mmu_context.h
mmu_context_32.h
mmu_context_64.h
mmzone.h
mxcc.h
nmi.h
ns87303.h
obio.h
openprom.h
oplib.h
oplib_32.h
oplib_64.h
page.h
page_32.h sparc32: mm: Change pgtable_t type to pte_t * instead of struct page * 2020-05-13 15:32:00 -07:00
page_64.h mm/vma: define a default value for VM_DATA_DEFAULT_FLAGS 2020-04-10 15:36:21 -07:00
parport.h sparc: Use of_node_name_eq for node name comparisons 2018-11-18 13:35:21 -08:00
pbm.h
pci.h PCI: Convert pci_resource_to_user() to a weak function 2019-08-08 15:12:07 -05:00
pcic.h
pcr.h
percpu.h
percpu_32.h
percpu_64.h
perf_event.h
pgalloc.h
pgalloc_32.h mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
pgalloc_64.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc 2020-01-30 07:36:43 -08:00
pgtable.h
pgtable_32.h mm: introduce include/linux/pgtable.h 2020-06-09 09:39:13 -07:00
pgtable_64.h mm: introduce include/linux/pgtable.h 2020-06-09 09:39:13 -07:00
pgtsrmmu.h sparc32: mm: Reduce allocation size for PMD and PTE tables 2020-05-13 15:32:00 -07:00
pil.h
processor.h
processor_32.h treewide: remove current_text_addr 2018-10-31 08:54:12 -07:00
processor_64.h treewide: remove current_text_addr 2018-10-31 08:54:12 -07:00
prom.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
psr.h
ptrace.h
qrwlock.h
qspinlock.h
ross.h
sbi.h
scratchpad.h
seccomp.h
sections.h
setup.h
sfafsr.h
sfp-machine.h
sfp-machine_32.h
sfp-machine_64.h
shmparam.h
shmparam_32.h
shmparam_64.h
sigcontext.h
signal.h
smp.h
smp_32.h
smp_64.h
sparsemem.h
spinlock.h
spinlock_32.h
spinlock_64.h
spinlock_types.h
spitfire.h
stacktrace.h
starfire.h
string.h sparc: revive __HAVE_ARCH_STRLEN for 32bit sparc 2020-03-25 10:19:43 +09:00
string_32.h
string_64.h sparc: revive __HAVE_ARCH_STRLEN for 32bit sparc 2020-03-25 10:19:43 +09:00
sunbpp.h
swift.h
switch_to.h
switch_to_32.h
switch_to_64.h sparc64: Make corrupted user stacks more debuggable. 2018-10-26 15:04:41 -07:00
syscall.h audit/stable-5.2 PR 20190507 2019-05-07 19:06:04 -07:00
syscalls.h
termbits.h
termios.h
thread_info.h
thread_info_32.h
thread_info_64.h sparc: Validate VDSO for undefined symbols. 2018-10-22 16:09:27 -07:00
timer.h
timer_32.h
timer_64.h
timex.h
timex_32.h
timex_64.h
tlb.h
tlb_32.h arch/tlb: Clean up simple architectures 2019-04-03 10:32:54 +02:00
tlb_64.h asm-generic/tlb: rename HAVE_RCU_TABLE_FREE 2020-02-04 03:05:26 +00:00
tlbflush.h
tlbflush_32.h
tlbflush_64.h
topology.h
topology_32.h
topology_64.h
trap_block.h
traps.h
tsb.h
tsunami.h
ttable.h
turbosparc.h
uaccess.h
uaccess_32.h get rid of legacy 'get_ds()' function 2019-03-04 10:50:14 -08:00
uaccess_64.h get rid of legacy 'get_ds()' function 2019-03-04 10:50:14 -08:00
unaligned.h
unistd.h y2038: rename old time and utime syscalls 2019-02-07 00:13:28 +01:00
upa.h
uprobes.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
user.h
vaddrs.h
vdso.h sparc: Fix VDSO build with older binutils. 2018-10-25 10:36:19 -07:00
vga.h
viking.h sparc32: mm: Restructure sparc32 MMU page-table layout 2020-05-13 15:32:00 -07:00
vio.h
visasm.h
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
vvar.h
winmacro.h
xor.h
xor_32.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47 2019-05-24 17:27:13 +02:00
xor_64.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47 2019-05-24 17:27:13 +02:00