linux-hardened/arch/s390
Andrea Arcangeli 0693bc9ce2 s390: gup_huge_pmd() return 0 if pte changes
s390 didn't return 0 in that case, if it's rolling back the *nr pointer it
should also return zero to avoid adding pages to the array at the wrong
offset.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-11-02 16:06:58 -07:00
..
appldata [S390] mm: add ZONE_DMA to 31-bit config again 2011-05-26 09:48:25 +02:00
boot [S390] sparse: fix sparse static warnings 2011-10-30 15:16:46 +01:00
crypto crypto: s390 - support hardware accelerated SHA-224 2011-07-04 20:06:01 +08:00
hypfs s390: Convert vmalloc/memset to vzalloc 2011-09-15 13:55:02 +02:00
include/asm Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2011-10-31 16:14:20 -07:00
kernel [S390] Remove error checking from copy_oldmem_page() 2011-10-30 15:16:47 +01:00
kvm Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2011-10-31 16:14:20 -07:00
lib [S390] sparse: fix sparse warnings with __user pointers 2011-10-30 15:16:46 +01:00
math-emu s390: change to new flag variable 2011-03-17 14:02:57 +01:00
mm s390: gup_huge_pmd() return 0 if pte changes 2011-11-02 16:06:58 -07:00
oprofile [S390] sparse: fix sparse ANSI-C warnings 2011-10-30 15:16:46 +01:00
defconfig [S390] defconfig: switch on CONFIG_DEVTMPFS 2011-10-30 15:16:42 +01:00
Kbuild [S390] standardize Kbuild rules 2010-10-25 16:10:14 +02:00
Kconfig [S390] kdump backend code 2011-10-30 15:16:42 +01:00
Kconfig.debug [S390] Write protect module text and RO data 2011-03-15 17:08:23 +01:00
Makefile [S390] remove redundant stack check option 2011-03-15 17:08:22 +01:00