From: Aneesh Kumar K.V Date: Thu, 6 Jun 2013 07:20:34 +0000 (-0700) Subject: mm/thp: use the correct function when updating access flags X-Git-Tag: v3.11-rc1~94^2~141 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8663890a9e9278623d20c67aa9fbeeb31ff3be97;p=pandora-kernel.git mm/thp: use the correct function when updating access flags We should use pmdp_set_access_flags to update access flags. Archs like powerpc use extra checks(_PAGE_BUSY) when updating a hugepage PTE. A set_pmd_at doesn't do those checks. We should use set_pmd_at only when updating a none hugepage PTE. Signed-off-by: Aneesh Kumar K.V Cc: Andrea Arcangeli a Signed-off-by: Andrew Morton Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed