]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: mtrr_cleanup optimization, v2
authorYinghai Lu <yhlu.kernel@gmail.com>
Sat, 27 Sep 2008 07:30:08 +0000 (00:30 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Sep 2008 16:09:34 +0000 (18:09 +0200)
commit2313c2793d290a8cc37c428f8622c53f3fe1d6dc
tree7c58eadcd07a5b51defac8b455b75e0e72d09c42
parent7fc2368d1d0dce7a778beb2fba3acac8fa7a34b6
x86: mtrr_cleanup optimization, v2

fix hpa's t61 with 4g ram:

   change layout from
(n - 1)*chunksize + chunk_size - NC
   to
n*chunksize - NC

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mtrr/main.c