]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: PAT: make pat_x_mtrr_type() more readable
authorHugh Dickins <hugh@veritas.com>
Mon, 16 Jun 2008 17:42:43 +0000 (18:42 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 18 Jun 2008 09:51:08 +0000 (11:51 +0200)
commit6cf514fce18589ea1e0521c5f2d7c2bb280fefc7
tree2f1fcc63d4e0e0d054050382e2d1136481fafc76
parentfaeca31d068090285b77c39574d2bda14b079c50
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 <hugh@veritas.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pat.c