s390/hugetlb: use direct TLB flushing for hugetlbfs pages
authorGerald Schaefer <gerald.schaefer@de.ibm.com>
Wed, 5 Sep 2012 12:07:59 +0000 (14:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 6 Sep 2012 08:40:37 +0000 (10:40 +0200)
commit9016083b7bc4829c4f97f37a1a3102e0f5a37692
treea70b3bf5b849c8815c9c7af3fbfe3d79dc260097
parentd5feaea364281a7e9b80b4712e790ab908d61711
s390/hugetlb: use direct TLB flushing for hugetlbfs pages

huge_ptep_get_and_clear() is either missing a TLB invalidation or
an mm->context.attach_count check. Since the attach_count logic was
introduced with normal ptes in mind, let's just use direct TLB
flushing for hugetlbfs pages.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/hugetlb.h