From: Yinghai Lu Date: Thu, 4 Sep 2008 19:09:43 +0000 (+0200) Subject: x86: move mtrr cpu cap setting early in early_init_xxxx X-Git-Tag: v2.6.27-rc6~23^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd786dd12c99634055a9066f25ea957f29991c22;p=pandora-kernel.git x86: move mtrr cpu cap setting early in early_init_xxxx Krzysztof Helt found MTRR is not detected on k6-2 root cause: we moved mtrr_bp_init() early for mtrr trimming, and in early_detect we only read the CPU capability from cpuid, so some cpu doesn't have that bit in cpuid. So we need to add early_init_xxxx to preset those bit before mtrr_bp_init for those earlier cpus. this patch is for v2.6.27 Reported-by: Krzysztof Helt Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed