commit | 5dca6a1bb014875a17289fdaae8c31e0a3641c99 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yhlu.kernel.send@gmail.com> | Tue Mar 18 16:44:19 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Mar 21 17:06:15 2008 +0100 |
tree | c6cb1eab44e92cedbfcee707de6ed2ad960e20e6 | |
parent | fc1c8925c8210009c1fc5d909d189252d8fb4fb2 [diff] |
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 <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>