From: Suresh Siddha Date: Thu, 9 Apr 2009 21:26:51 +0000 (-0700) Subject: x86, PAT: Consolidate code in pat_x_mtrr_type() and reserve_memtype() X-Git-Tag: v2.6.30-rc3~65^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6ff32d9aaeeeecf98f9a852d715569183585312;p=pandora-kernel.git x86, PAT: Consolidate code in pat_x_mtrr_type() and reserve_memtype() Fix pat_x_mtrr_type() to use UC_MINUS when the mtrr type return UC. This is to be consistent with ioremap() and ioremap_nocache() which uses UC_MINUS. Consolidate the code such that reserve_memtype() also uses pat_x_mtrr_type() when the caller doesn't specify any special attribute (non WB attribute). Signed-off-by: Suresh Siddha Signed-off-by: Venkatesh Pallipadi LKML-Reference: <20090409212708.939936000@intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed