Dan Williams
e4e40e0263
mm: switch to 'define pmd_write' instead of __HAVE_ARCH_PMD_WRITE
...
In response to compile breakage introduced by a series that added the
pud_write helper to x86, Stephen notes:
did you consider using the other paradigm:
In arch include files:
#define pud_write pud_write
static inline int pud_write(pud_t pud)
.....
Then in include/asm-generic/pgtable.h:
#ifndef pud_write
tatic inline int pud_write(pud_t pud)
{
....
}
#endif
If you had, then the powerpc code would have worked ... ;-) and many
of the other interfaces in include/asm-generic/pgtable.h are
protected that way ...
Given that some architecture already define pmd_write() as a macro, it's
a net reduction to drop the definition of __HAVE_ARCH_PMD_WRITE.
Link: http://lkml.kernel.org/r/151129126721.37405.13339850900081557813.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Cc: Oliver OHalloran <oliveroh@au1.ibm.com>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-11-29 18:40:42 -08:00
..
boot
ARM: Device-tree updates for 4.15
2017-11-16 15:48:26 -08:00
common
Merge branch 'pm-sleep'
2017-11-13 01:41:20 +01:00
configs
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
crypto
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
firmware
include
mm: switch to 'define pmd_write' instead of __HAVE_ARCH_PMD_WRITE
2017-11-29 18:40:42 -08:00
kernel
Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
2017-11-26 15:03:49 -08:00
kvm
GICv4 Support for KVM/ARM for v4.15
2017-11-17 13:20:01 +01:00
lib
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-actions
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-alpine
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-artpec
mach-asm9260
mach-aspeed
mach-at91
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-axxia
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-bcm
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-berlin
mach-clps711x
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-cns3xxx
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-davinci
ARM: Device-tree updates for 4.15
2017-11-16 15:48:26 -08:00
mach-digicolor
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-dove
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-ebsa110
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-efm32
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-ep93xx
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-exynos
mach-footbridge
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-13 17:56:58 -08:00
mach-gemini
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-highbank
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-hisi
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-imx
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-integrator
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-iop13xx
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-iop32x
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
mach-iop33x
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-ixp4xx
treewide: Switch DEFINE_TIMER callbacks to struct timer_list *
2017-11-21 15:57:05 -08:00
mach-keystone
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-ks8695
Merge branch 'i2c/for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/wsa/linux
2017-11-14 17:52:21 -08:00
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
ARM: meson: enable MESON_IRQ_GPIO in Kconfig for meson8b
2017-10-29 08:40:08 -07:00
mach-mmp
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-moxart
mach-mv78xx0
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-mvebu
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-mxs
mach-netx
mach-nomadik
mach-nspire
mach-omap1
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-omap2
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-orion5x
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
mach-oxnas
mach-picoxcell
mach-prima2
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-pxa
This pull request contains the following core changes:
2017-11-22 20:46:06 -10:00
mach-qcom
mach-realview
mach-rockchip
mach-rpc
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-s3c24xx
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-s3c64xx
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-s5pv210
mach-sa1100
Merge branch 'i2c/for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/wsa/linux
2017-11-14 17:52:21 -08:00
mach-shmobile
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-socfpga
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-spear
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-sti
mach-stm32
mach-sunxi
mach-tango
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-tegra
Merge branch 'linus' into locking/core, to resolve conflicts
2017-11-07 10:32:44 +01:00
mach-u300
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-uniphier
kbuild: remove all dummy assignments to obj-
2017-11-18 11:46:06 +09:00
mach-ux500
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-versatile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-vexpress
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
mach-vt8500
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-w90x900
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-zx
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mach-zynq
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
mm
Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
2017-11-26 15:03:49 -08:00
net
nwfpe
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
oprofile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
plat-iop
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
plat-omap
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
plat-orion
plat-pxa
plat-samsung
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
plat-versatile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
probes
arm/kprobes: Remove jprobe test case
2017-11-07 11:25:14 +01:00
tools
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
vdso
Merge branch 'linus' into locking/core, to resolve conflicts
2017-11-07 10:32:44 +01:00
vfp
xen
xen: re-introduce support for grant v2 interface
2017-11-06 15:50:17 -05:00
Kconfig
ARM: SoC platform updates for 4.15
2017-11-16 14:05:12 -08:00
Kconfig-nommu
Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
2017-11-16 12:50:35 -08:00
Kconfig.debug
Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm
2017-11-26 15:03:49 -08:00
Makefile
Kbuild updates for v4.15
2017-11-17 17:45:29 -08:00