linux-stable/arch
Geert Uytterhoeven 4c2b5e0fab m68k: Add braces to __pmd(x) initializer to kill compiler warning
With gcc 4.1.2:

    include/linux/swapops.h: In function ‘swp_entry_to_pmd’:
    include/linux/swapops.h:294: warning: missing braces around initializer
    include/linux/swapops.h:294: warning: (near initialization for ‘(anonymous).pmd’)

Due to a GCC zero initializer bug (#53119), the standard "(pmd_t){ 0 }"
initializer is not accepted by all GCC versions.
In addition, on m68k pmd_t is an array instead of a single value, so we
need "(pmd_t){ { 0 }, }" instead of "(pmd_t){ 0 }".

Based on commit 9157259d16 ("mm: add pmd_t initializer __pmd() to
work around a GCC bug.") for sparc32.

Fixes: 616b837153 ("mm: thp: enable thp migration in generic path")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-09-10 09:55:35 -07:00
..
alpha Merge branch 'akpm' (patches from Andrew) 2017-09-09 10:30:07 -07:00
arc ARC changes for 4.14-rc1 2017-09-08 16:02:18 -07:00
arm MTD changes for 4.14: 2017-09-09 14:48:21 -07:00
arm64 Merge branch 'akpm' (patches from Andrew) 2017-09-09 10:30:07 -07:00
blackfin MTD changes for 4.14: 2017-09-09 14:48:21 -07:00
c6x c6x: Convert to using %pOF instead of full_name 2017-08-24 09:35:40 -04:00
cris MTD changes for 4.14: 2017-09-09 14:48:21 -07:00
frv arch: define CPU_BIG_ENDIAN for all fixed big endian archs 2017-09-08 18:26:48 -07:00
h8300 arch: define CPU_BIG_ENDIAN for all fixed big endian archs 2017-09-08 18:26:48 -07:00
hexagon Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 11:52:29 -07:00
ia64 pci-v4.14-changes 2017-09-08 15:47:43 -07:00
m32r m32r: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
m68k m68k: Add braces to __pmd(x) initializer to kill compiler warning 2017-09-10 09:55:35 -07:00
metag metag/numa: remove the unused parent_node() macro 2017-09-06 17:27:24 -07:00
microblaze Merge branch 'akpm' (patches from Andrew) 2017-09-09 10:30:07 -07:00
mips MTD changes for 4.14: 2017-09-09 14:48:21 -07:00
mn10300 mn10300: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
nios2
openrisc arch: define CPU_BIG_ENDIAN for all fixed big endian archs 2017-09-08 18:26:48 -07:00
parisc arch: define CPU_BIG_ENDIAN for all fixed big endian archs 2017-09-08 18:26:48 -07:00
powerpc Merge branch 'akpm' (patches from Andrew) 2017-09-09 10:30:07 -07:00
s390 IOMMU Updates for Linux v4.14 2017-09-09 15:03:24 -07:00
score
sh MTD changes for 4.14: 2017-09-09 14:48:21 -07:00
sparc Merge branch 'akpm' (patches from Andrew) 2017-09-09 10:30:07 -07:00
tile Merge branch 'akpm' (patches from Andrew) 2017-09-09 10:30:07 -07:00
um Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 09:52:57 -07:00
unicore32 unicore32/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks 2017-08-03 16:29:34 -05:00
x86 x86/mm/64: Fix an incorrect warning with CONFIG_DEBUG_VM=y, !PCID 2017-09-10 09:55:35 -07:00
xtensa Merge branch 'akpm' (patches from Andrew) 2017-09-06 20:49:49 -07:00
.gitignore
Kconfig - For the randstruct plugin, enable automatic randomization of structures 2017-09-07 20:30:19 -07:00