From: Yinghai Lu Date: Tue, 18 Mar 2008 23:44:19 +0000 (-0700) Subject: x86: trim mtrr don't close gap for resource allocation. X-Git-Tag: v2.6.25-rc7~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dca6a1bb014875a17289fdaae8c31e0a3641c99;p=pandora-kernel.git x86: trim mtrr don't close gap for resource allocation. fix the bug reported here: http://bugzilla.kernel.org/show_bug.cgi?id=10232 use update_memory_range() instead of add_memory_range() directly to avoid closing the gap. ( the new code only affects and runs on systems where the MTRR workaround triggers. ) Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed