summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cpu/x86/mtrr/mtrr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c
index e1bdf4546a..288f06dd0e 100644
--- a/src/cpu/x86/mtrr/mtrr.c
+++ b/src/cpu/x86/mtrr/mtrr.c
@@ -908,7 +908,7 @@ void mtrr_use_temp_range(uintptr_t begin, size_t size, int type)
(long long)begin, (long long)begin + size,
(long long)size, type);
else
- put_back_original_solution = true;
+ need_restore_mtrr();
memranges_teardown(&addr_space);
}