X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fs390%2Fmm%2Ffault.c;h=4d537205e83c0013d159a9cd8fc5145e0dd80813;hb=2bea2e4abf2fe8bc7384103aeaad91089109cfba;hp=2650f46001d098c5f04cee1ce5b11d7de3eaffb9;hpb=8019aa946af5218bc4446c21e43cc19c9401ac68;p=linux-2.6-omap-h63xx.git diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index 2650f46001d..4d537205e83 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -367,6 +368,8 @@ good_area: } survive: + if (is_vm_hugetlb_page(vma)) + address &= HPAGE_MASK; /* * If for any reason at all we couldn't handle the fault, * make sure we exit gracefully rather than endlessly redo