summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAndrea Arcangeli <aarcange@redhat.com>2013-04-10 15:28:25 +0200
committerIngo Molnar <mingo@kernel.org>2013-04-11 10:34:42 +0200
commitf76cfa3c2496c462b5bc01bd0c9340c2715b73ca (patch)
tree90752856da4872450c37b0e2ebf0b3ca62d341eb /samples
parent511ba86e1d386f671084b5d0e6f110bb30b8eeb2 (diff)
downloadlinux-3.10-f76cfa3c2496c462b5bc01bd0c9340c2715b73ca.tar.gz
linux-3.10-f76cfa3c2496c462b5bc01bd0c9340c2715b73ca.tar.bz2
linux-3.10-f76cfa3c2496c462b5bc01bd0c9340c2715b73ca.zip
x86/mm/cpa: Convert noop to functional fix
Commit: a8aed3e0752b ("x86/mm/pageattr: Prevent PSE and GLOABL leftovers to confuse pmd/pte_present and pmd_huge") introduced a valid fix but one location that didn't trigger the bug that lead to finding those (small) problems, wasn't updated using the right variable. The wrong variable was also initialized for no good reason, that may have been the source of the confusion. Remove the noop initialization accordingly. Commit a8aed3e0752b also erroneously removed one canon_pgprot pass meant to clear pmd bitflags not supported in hardware by older CPUs, that automatically gets corrected by this patch too by applying it to the right variable in the new location. Reported-by: Stefan Bader <stefan.bader@canonical.com> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Acked-by: Borislav Petkov <bp@alien8.de> Cc: Andy Whitcroft <apw@canonical.com> Cc: Mel Gorman <mgorman@suse.de> Link: http://lkml.kernel.org/r/1365600505-19314-1-git-send-email-aarcange@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions