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
..
alchemy
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
ar7
MIPS: AR7: Ensure that serial ports are properly set up
2017-11-08 14:57:55 +00:00
ath25
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
ath79
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
bcm47xx
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
bcm63xx
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
bmips
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
boot
kbuild: remove all dummy assignments to obj-
2017-11-18 11:46:06 +09:00
cavium-octeon
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
cobalt
configs
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
dec
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
emma
MIPS: Avoid old-style declaration
2017-01-25 02:51:11 +01:00
fw
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
generic
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
include
mm: switch to 'define pmd_write' instead of __HAVE_ARCH_PMD_WRITE
2017-11-29 18:40:42 -08:00
jazz
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
jz4740
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
kernel
AFS development
2017-11-16 11:41:22 -08:00
kvm
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
lantiq
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
lasat
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
lib
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
loongson32
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
loongson64
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
math-emu
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
mm
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
mti-malta
treewide: Switch DEFINE_TIMER callbacks to struct timer_list *
2017-11-21 15:57:05 -08:00
net
MIPS: bpf: Fix a typo in build_one_insn()
2017-11-01 00:09:17 +00:00
netlogic
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
paravirt
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
pci
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
pic32
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
pistachio
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
pmcs-msp71xx
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
pnx833x
mtd: nand: Rename nand.h into rawnand.h
2017-08-13 10:11:49 +02:00
power
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
ralink
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
rb532
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
sgi-ip22
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
sgi-ip27
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
sgi-ip32
mips: ip22/32: Convert timers to use timer_setup()
2017-11-02 15:50:36 -07:00
sibyte
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
sni
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
tools
Update MIPS email addresses
2017-11-03 09:02:30 -07:00
txx9
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
vdso
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
vr41xx
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
Kbuild
MIPS: Disable Werror when W= is set
2017-04-10 11:56:07 +02:00
Kbuild.platforms
MIPS: Xilfpga: Switch to using generic defconfigs
2017-11-08 22:54:14 +00:00
Kconfig
MIPS changes for 4.15
2017-11-15 11:36:08 -08:00
Kconfig.debug
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
Makefile
MIPS: Xilfpga: Switch to using generic defconfigs
2017-11-08 22:54:14 +00:00
Makefile.postlink
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00