perf_counter: Fix software counters for fast moving event sources
[safe/jmp/linux-2.6] / kernel / futex.c
index 794c862..0672ff8 100644 (file)
@@ -247,6 +247,7 @@ again:
        if (err < 0)
                return err;
 
+       page = compound_head(page);
        lock_page(page);
        if (!page->mapping) {
                unlock_page(page);