From: Hugh Dickins Date: Mon, 16 Jun 2008 17:42:43 +0000 (+0100) Subject: x86: PAT: make pat_x_mtrr_type() more readable X-Git-Tag: v2.6.27-rc1~1106^2~251^18~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cf514fce18589ea1e0521c5f2d7c2bb280fefc7;p=pandora-kernel.git x86: PAT: make pat_x_mtrr_type() more readable Clean up over-complications in pat_x_mtrr_type(). And if reserve_memtype() ignores stray req_type bits when pat_enabled, it's better to mask them off when not also. Signed-off-by: Hugh Dickins Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed