diff options
-rw-r--r-- | core/timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/timer.c b/core/timer.c index e97dc07..8bfba4a 100644 --- a/core/timer.c +++ b/core/timer.c @@ -13,7 +13,7 @@ #endif /* Heartbeat requested from Linux */ -#define HEARTBEAT_DEFAULT_MS 2000 +#define HEARTBEAT_DEFAULT_MS 200 static struct lock timer_lock = LOCK_UNLOCKED; static LIST_HEAD(timer_list); @@ -257,10 +257,10 @@ void late_init_timers(void) */ if (slw_timer_ok() || fsp_present()) { dt_add_property_cells(opal_node, "ibm,heartbeat-ms", - HEARTBEAT_DEFAULT_MS); + HEARTBEAT_DEFAULT_MS * 10); } else { dt_add_property_cells(opal_node, "ibm,heartbeat-ms", - HEARTBEAT_DEFAULT_MS / 10); + HEARTBEAT_DEFAULT_MS); } } #endif |