x86/mm/cpa/selftest: Fix false positive in CPA self test
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 11 Apr 2013 13:36:09 +0000 (15:36 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 12 Apr 2013 04:39:20 +0000 (06:39 +0200)
commit18699739b60cb60230153ff5475b2ba92be185f9
tree6ea839de2b474022fb3f3710865c11ef135a83be
parentf76cfa3c2496c462b5bc01bd0c9340c2715b73ca
x86/mm/cpa/selftest: Fix false positive in CPA self test

If the pmd is not present, _PAGE_PSE will not be set anymore.
Fix the false positive.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Stefan Bader <stefan.bader@canonical.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
Link: http://lkml.kernel.org/r/1365687369-30802-1-git-send-email-aarcange@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/pageattr-test.c