summaryrefslogtreecommitdiffstats
path: root/pk/kernel/pk_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'pk/kernel/pk_init.c')
-rw-r--r--pk/kernel/pk_init.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/pk/kernel/pk_init.c b/pk/kernel/pk_init.c
index 9174e51d..2ac06f33 100644
--- a/pk/kernel/pk_init.c
+++ b/pk/kernel/pk_init.c
@@ -68,10 +68,6 @@ pk_initialize(PkAddress noncritical_stack,
PK_INVALID_ARGUMENT_INIT);
}
- if (initial_timebase != PK_TIMEBASE_CONTINUES) {
- pk_timebase_set(initial_timebase);
- }
-
__pk_timebase_frequency_hz = timebase_frequency_hz;
__pk_timebase_frequency_khz = timebase_frequency_hz / 1000;
__pk_timebase_frequency_mhz = timebase_frequency_hz / 1000000;
@@ -108,8 +104,9 @@ extern PkTraceBuffer g_pk_trace_buf;
//set the trace timebase HZ
g_pk_trace_buf.hz = timebase_frequency_hz;
- //TODO: set the ppe instance id (for CME's)
-
+ //set the timebase ajdustment for trace synchronization
+ pk_trace_set_timebase(initial_timebase);
+
#endif /* PK_TRACE_SUPPORT */
#endif /* PK_TIMER_SUPPORT */
OpenPOWER on IntegriCloud