summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/car.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/x86/car.c b/src/cpu/x86/car.c
index 606a35e2f6..1b02f8b7da 100644
--- a/src/cpu/x86/car.c
+++ b/src/cpu/x86/car.c
@@ -113,6 +113,11 @@ void *car_sync_var_ptr(void *var)
return mig_var;
}
+int car_active(void)
+{
+ return !car_migrated;
+}
+
static void do_car_migrate_variables(void)
{
void *migrated_base;