From: Aneesh Kumar K.V Date: Wed, 13 Aug 2014 07:01:58 +0000 (+0530) Subject: powerpc/thp: Don't recompute vsid and ssize in loop on invalidate X-Git-Tag: omap-for-v3.17/fixes-against-rc2~65^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa1f8ae80f8bb996594167ff4750a0b0a5a5bb5d;p=pandora-kernel.git powerpc/thp: Don't recompute vsid and ssize in loop on invalidate The segment identifier and segment size will remain the same in the loop, So we can compute it outside. We also change the hugepage_invalidate interface so that we can use it the later patch CC: Signed-off-by: Aneesh Kumar K.V Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed