Merge branch 'akpm' (patches from Andrew)
[linux-2.6-microblaze.git] / arch / s390 / mm / fault.c
index 212632d..a834e46 100644 (file)
@@ -822,7 +822,7 @@ void do_secure_storage_access(struct pt_regs *regs)
                break;
        case KERNEL_FAULT:
                page = phys_to_page(addr);
-               if (unlikely(!try_get_page(page)))
+               if (unlikely(!try_get_compound_head(page, 1)))
                        break;
                rc = arch_make_page_accessible(page);
                put_page(page);