linux_dsm_epyc7002/arch/arm/mach-omap2
Mike Rapoport ca15ca406f mm: remove unneeded includes of <asm/pgalloc.h>
Patch series "mm: cleanup usage of <asm/pgalloc.h>"

Most architectures have very similar versions of pXd_alloc_one() and
pXd_free_one() for intermediate levels of page table.  These patches add
generic versions of these functions in <asm-generic/pgalloc.h> and enable
use of the generic functions where appropriate.

In addition, functions declared and defined in <asm/pgalloc.h> headers are
used mostly by core mm and early mm initialization in arch and there is no
actual reason to have the <asm/pgalloc.h> included all over the place.
The first patch in this series removes unneeded includes of
<asm/pgalloc.h>

In the end it didn't work out as neatly as I hoped and moving
pXd_alloc_track() definitions to <asm-generic/pgalloc.h> would require
unnecessary changes to arches that have custom page table allocations, so
I've decided to move lib/ioremap.c to mm/ and make pgalloc-track.h local
to mm/.

This patch (of 8):

In most cases <asm/pgalloc.h> header is required only for allocations of
page table memory.  Most of the .c files that include that header do not
use symbols declared in <asm/pgalloc.h> and do not require that header.

As for the other header files that used to include <asm/pgalloc.h>, it is
possible to move that include into the .c file that actually uses symbols
from <asm/pgalloc.h> and drop the include from the header file.

The process was somewhat automated using

	sed -i -E '/[<"]asm\/pgalloc\.h/d' \
                $(grep -L -w -f /tmp/xx \
                        $(git grep -E -l '[<"]asm/pgalloc\.h'))

where /tmp/xx contains all the symbols defined in
arch/*/include/asm/pgalloc.h.

[rppt@linux.ibm.com: fix powerpc warning]

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>	[m68k]
Cc: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Cc: Stafford Horne <shorne@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Matthew Wilcox <willy@infradead.org>
Link: http://lkml.kernel.org/r/20200627143453.31835-1-rppt@kernel.org
Link: http://lkml.kernel.org/r/20200627143453.31835-2-rppt@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:26 -07:00
..
include/mach
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
am33xx-restart.c
am33xx.h
board-generic.c ARM: OMAP2+: Fix regression for using local timer on non-SMP SoCs 2020-05-28 22:50:27 +02:00
board-n8x0.c
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c
clkt2xxx_virt_prcm_set.c
clock2xxx.h
clock3xxx.h
clock.c
clock.h
clockdomain.c ARM: OMAP2+: Simplify code for clkdm_clock_enable and disable 2019-10-16 08:23:26 -07:00
clockdomain.h
clockdomains2xxx_3xxx_data.c
clockdomains3xxx_data.c
clockdomains7xx_data.c ARM: OMAP: DRA7xx: Make CAM clock domain SWSUP only 2020-01-23 09:12:54 -08:00
clockdomains33xx_data.c
clockdomains43xx_data.c ARM: OMAP2+: am43xx: Add lcdc clockdomain 2019-12-12 09:42:34 -08:00
clockdomains44xx_data.c ARM: OMAP4: Make L4SEC clock domain SWSUP only 2020-05-05 11:16:06 -07:00
clockdomains54xx_data.c ARM: OMAP5: Make L4SEC clock domain SWSUP only 2020-05-05 11:16:06 -07:00
clockdomains81xx_data.c
clockdomains2420_data.c
clockdomains2430_data.c
cm1_7xx.h
cm1_44xx.h
cm1_54xx.h
cm2_7xx.h
cm2_44xx.h
cm2_54xx.h
cm2xxx_3xxx.h
cm2xxx.c
cm2xxx.h
cm3xxx.c
cm3xxx.h
cm33xx.c
cm33xx.h
cm44xx.h
cm81xx.h
cm_common.c
cm-regbits-7xx.h
cm-regbits-24xx.h
cm-regbits-33xx.h
cm-regbits-34xx.h
cm-regbits-44xx.h
cm-regbits-54xx.h
cm.h
cminst44xx.c
common-board-devices.h
common.c
common.h ARM: OMAP2+: Drop old timer code for dmtimer and 32k counter 2020-05-19 09:38:05 -07:00
control.c ARM: OMAP2+: do not export am43xx_control functions 2019-10-21 10:30:54 -07:00
control.h ARM: OMAP2+: Update 4430 voltage controller operating points 2019-10-16 07:51:15 -07:00
cpuidle34xx.c ARM: OMAP2+: Handle errors for cpu_pm 2020-03-09 10:24:01 +01:00
cpuidle44xx.c ARM: OMAP2+: Handle errors for cpu_pm 2020-03-09 10:24:01 +01:00
ctrl_module_wkup_44xx.h
devices.c
display.c ARM: OMAP2+: Add missing put_device() call in omapdss_init_of() 2019-11-11 12:52:51 -08:00
display.h
dma.c ARM: OMAP2+: Drop legacy init for sdma 2019-12-30 09:47:21 -08:00
fb.c
gpmc.h
hdq1w.c
hdq1w.h
i2c.c
i2c.h
id.c ARM: OMAP2: Use custom soc attribute group instead of device_create_file 2020-07-06 09:48:06 +01:00
id.h
io.c ARM: OMAP2+: Fix compile if CONFIG_HAVE_ARM_SMCCC is not set 2020-02-26 10:49:25 -08:00
iomap.h
Kconfig ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 2020-05-07 10:48:27 -07:00
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
Makefile ARM: omap2: fix omap5_realtime_timer_init definition 2020-06-02 19:14:21 +02:00
mcbsp.c
mmc.h arch: arm: mach-omap2: mmc: Move omap_mmc_notify_cover_event() prototype 2020-07-13 12:18:26 +02:00
msdi.c
omap2-restart.c
omap3-restart.c
omap4-common.c
omap4-restart.c
omap4-sar-layout.h
omap24xx.h
omap34xx.h
omap44xx.h
omap54xx.h
omap_device.c ARM: OMAP2+: Drop legacy init for sdma 2019-12-30 09:47:21 -08:00
omap_device.h ARM: OMAP2+: Drop legacy init for sdma 2019-12-30 09:47:21 -08:00
omap_hwmod_2xxx_3xxx_ipblock_data.c
omap_hwmod_2xxx_interconnect_data.c ARM: dts: Configure system timers for omap2 2020-05-19 09:38:04 -07:00
omap_hwmod_2xxx_ipblock_data.c ARM: dts: Configure system timers for omap2 2020-05-19 09:38:04 -07:00
omap_hwmod_3xxx_data.c ARM: dts: omap3: Migrate AES from hwmods to sysc-omap2 2020-06-29 10:22:47 -07:00
omap_hwmod_7xx_data.c ARM: OMAP2+: Drop legacy platform data for dra7 dwc3 2020-07-14 08:41:18 -07:00
omap_hwmod_33xx_43xx_common_data.h ARM: dts: Configure system timers for am437x 2020-05-19 09:38:03 -07:00
omap_hwmod_33xx_43xx_interconnect_data.c ARM: dts: Configure system timers for am437x 2020-05-19 09:38:03 -07:00
omap_hwmod_33xx_43xx_ipblock_data.c ARM: dts: Configure system timers for am437x 2020-05-19 09:38:03 -07:00
omap_hwmod_33xx_data.c ARM: dts: Configure system timers for am335x 2020-05-19 09:38:03 -07:00
omap_hwmod_43xx_data.c ARM: OMAP2+: Drop legacy platform data for am4 dwc3 2020-07-13 09:59:48 -07:00
omap_hwmod_44xx_data.c ARM: OMAP2+: Drop legacy platform data for omap4 usb 2020-07-14 08:41:18 -07:00
omap_hwmod_54xx_data.c ARM: OMAP2+: Drop legacy platform data for omap5 usb host 2020-07-14 08:41:18 -07:00
omap_hwmod_81xx_data.c ARM: dts: Configure system timers for ti81xx 2020-05-19 09:38:04 -07:00
omap_hwmod_2420_data.c ARM: dts: Configure system timers for omap2 2020-05-19 09:38:04 -07:00
omap_hwmod_2430_data.c ARM: dts: Configure system timers for omap2 2020-05-19 09:38:04 -07:00
omap_hwmod_common_data.c
omap_hwmod_common_data.h ARM: dts: Configure system timers for omap2 2020-05-19 09:38:04 -07:00
omap_hwmod_common_ipblock_data.c
omap_hwmod_reset.c ARM: OMAP2+: Drop legacy platform data for omap4 aess 2019-12-17 08:17:47 -08:00
omap_hwmod.c ARM: OMAP2+: Fix possible memory leak in omap_hwmod_allocate_module 2020-07-14 08:03:05 -07:00
omap_hwmod.h ARM: OMAP2+: Drop legacy platform data for omap4 aess 2019-12-17 08:17:47 -08:00
omap_opp_data.h
omap_phy_internal.c
omap_twl.c ARM: OMAP2+: Configure voltage controller for cpcap 2019-10-16 07:51:15 -07:00
omap-headsmp.S
omap-hotplug.c
omap-iommu.c ARM: OMAP2+: omap-iommu.c conversion to ti-sysc 2019-12-17 09:53:22 -08:00
omap-mpuss-lowpower.c mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
omap-secure.c change email address for Pali Rohár 2020-04-10 15:36:22 -07:00
omap-secure.h change email address for Pali Rohár 2020-04-10 15:36:22 -07:00
omap-smc.S change email address for Pali Rohár 2020-04-10 15:36:22 -07:00
omap-smp.c ARM: omap2: make omap5_erratum_workaround_801819 static 2020-05-12 08:35:56 -07:00
omap-wakeupgen.c
omap-wakeupgen.h
opp2xxx.h
opp3xxx_data.c
opp4xxx_data.c ARM: OMAP2+: Update 4430 voltage controller operating points 2019-10-16 07:51:15 -07:00
opp2420_data.c
opp2430_data.c
pdata-quirks.c bus: ti-sysc: Implement SoC revision handling 2020-02-26 10:03:35 -08:00
pm24xx.c dmaengine: ti: omap-dma: Use cpu notifier to block idle for omap2 2019-12-30 09:46:34 -08:00
pm33xx-core.c ARM: OMAP2+: pm33xx-core: Make am43xx_get_rtc_base_addr static 2020-05-12 08:36:04 -07:00
pm34xx.c ARM: OMAP2+: Handle errors for cpu_pm 2020-03-09 10:24:01 +01:00
pm44xx.c ARM: OMAP2+: Allow core oswr for omap4 2019-10-16 07:51:16 -07:00
pm-asm-offsets.c
pm-debug.c
pm.c ARM: OMAP2+: Configure voltage controller for cpcap 2019-10-16 07:51:15 -07:00
pm.h ARM: OMAP2+: Configure voltage controller for cpcap 2019-10-16 07:51:15 -07:00
pmic-cpcap.c ARM: OMAP2+: Remove duplicated include from pmic-cpcap.c 2019-10-23 09:58:41 -07:00
powerdomain-common.c
powerdomain.c
powerdomain.h
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c
powerdomains7xx_data.c
powerdomains33xx_data.c
powerdomains43xx_data.c
powerdomains44xx_data.c
powerdomains54xx_data.c
prcm43xx.h ARM: OMAP2+: am43xx: Add lcdc clockdomain 2019-12-12 09:42:34 -08:00
prcm44xx.h
prcm_mpu7xx.h
prcm_mpu44xx.c
prcm_mpu44xx.h
prcm_mpu54xx.h
prcm_mpu_44xx_54xx.h
prcm-common.h
prm2xxx_3xxx.c
prm2xxx_3xxx.h
prm2xxx.c
prm2xxx.h
prm3xxx.c
prm3xxx.h
prm7xx.h
prm33xx.c
prm33xx.h
prm44xx_54xx.h
prm44xx.c ARM: OMAP2+: prm44xx: make prm_{save,restore}_context static 2019-10-21 10:36:27 -07:00
prm44xx.h
prm54xx.h
prm_common.c
prm-regbits-24xx.h
prm-regbits-33xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h
prminst44xx.c
prminst44xx.h
scrm44xx.h
scrm54xx.h
sdrc2xxx.c
sdrc.c
sdrc.h
serial.h
sleep24xx.S
sleep33xx.S
sleep34xx.S ARM: OMAP2+: drop unnecessary adrl 2020-04-21 09:41:53 -07:00
sleep43xx.S
sleep44xx.S
smartreflex-class3.c
soc.h
sr_device.c
sram242x.S
sram243x.S
sram.c
sram.h
ti81xx-restart.c
ti81xx.h
timer.c ARM: omap2: fix omap5_realtime_timer_init definition 2020-06-02 19:14:21 +02:00
usb-tusb6010.c
usb.h
vc3xxx_data.c
vc44xx_data.c
vc.c ARM: OMAP2+: Configure voltage controller for cpcap to low-speed 2019-10-18 15:09:54 -07:00
vc.h ARM: OMAP2+: Configure voltage controller for retention 2019-10-18 07:56:51 -07:00
voltage.c
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c
voltagedomains44xx_data.c
voltagedomains54xx_data.c
vp3xxx_data.c
vp44xx_data.c
vp.c
vp.h
wd_timer.c
wd_timer.h