]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86, mtrr: Refactor MTRR type overlap check code
authorVenkatesh Pallipadi <venki@google.com>
Fri, 10 Sep 2010 22:55:49 +0000 (15:55 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 10 Sep 2010 23:11:10 +0000 (16:11 -0700)
commita7f07cfbaa1dd5bf9e615948f280c92e7928e6f7
tree68cce2213ae78a365b5ce35121fef75841b38675
parent2bfc96a127bc1cc94d26bfaa40159966064f9c8c
x86, mtrr: Refactor MTRR type overlap check code

Move the MTRR type overlap check into a new function. No functional change in
this patch. Just making it easier to add multiple region overlap check in
the following patch.

Signed-off-by: Venkatesh Pallipadi <venki@google.com>
LKML-Reference: <1284159350-19841-2-git-send-email-venki@google.com>
Reviewed-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/cpu/mtrr/generic.c