diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/pseries/dtl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/dtl.c b/arch/powerpc/platforms/pseries/dtl.c index dc9b0f81e60f..fafcaa0e81ef 100644 --- a/arch/powerpc/platforms/pseries/dtl.c +++ b/arch/powerpc/platforms/pseries/dtl.c | |||
@@ -107,6 +107,10 @@ static int dtl_enable(struct dtl *dtl) | |||
107 | /* set our initial buffer indices */ | 107 | /* set our initial buffer indices */ |
108 | dtl->last_idx = lppaca[dtl->cpu].dtl_idx = 0; | 108 | dtl->last_idx = lppaca[dtl->cpu].dtl_idx = 0; |
109 | 109 | ||
110 | /* ensure that our updates to the lppaca fields have occurred before | ||
111 | * we actually enable the logging */ | ||
112 | smp_wmb(); | ||
113 | |||
110 | /* enable event logging */ | 114 | /* enable event logging */ |
111 | lppaca[dtl->cpu].dtl_enable_mask = dtl_event_mask; | 115 | lppaca[dtl->cpu].dtl_enable_mask = dtl_event_mask; |
112 | 116 | ||