Merge branch 'topic/livepatch' of git://git.kernel.org/pub/scm/linux/kernel/git/power...
[deliverable/linux.git] / arch / x86 / mm / pageattr.c
index e64a4703f8b12ef3b602dc8131ac52d8c6c7f8e1..4d0b26253042d525107106f8e230535c65f25ca8 100644 (file)
@@ -1122,8 +1122,10 @@ static int __cpa_process_fault(struct cpa_data *cpa, unsigned long vaddr,
        /*
         * Ignore all non primary paths.
         */
-       if (!primary)
+       if (!primary) {
+               cpa->numpages = 1;
                return 0;
+       }
 
        /*
         * Ignore the NULL PTE for kernel identity mapping, as it is expected
This page took 0.025565 seconds and 5 git commands to generate.