int temp_end;
int threshold;
int timer_interval_ms;
+ int overridable;
/* Get property values */
name = get_string_from_object(obj, "name");
support = get_boolean_from_object(obj, "support");
target_level= get_int_from_object(obj, "target_level");
+ overridable = get_boolean_from_object(obj, "overridable");
/* - property for only pmqos module */
cpuhp_min_level = get_int_from_object(obj, "cpuhp_min_level");
scenario->thermal.temp_end = temp_end;
scenario->thermal.threshold = threshold;
scenario->thermal.timer_interval = timer_interval_ms;
+ scenario->thermal.overridable = (overridable < 0) ? 1 : overridable;
return 0;
}