Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138583
b: refs/heads/master
c: 82631f5
h: refs/heads/master
i:
  138581: a11e430
  138579: f0a95a0
  138575: edade8d
v: v3
  • Loading branch information
Jeremy Kerr authored and Benjamin Herrenschmidt committed Mar 27, 2009
1 parent c0d1f8f commit 9711032
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 757c74d298dc8438760b8dea275c4c6e0ac8a77f
refs/heads/master: 82631f5dd114e52239fb3d1e270a49d37c088b46
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/platforms/pseries/dtl.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ static int dtl_enable(struct dtl *dtl)
/* set our initial buffer indices */
dtl->last_idx = lppaca[dtl->cpu].dtl_idx = 0;

/* ensure that our updates to the lppaca fields have occurred before
* we actually enable the logging */
smp_wmb();

/* enable event logging */
lppaca[dtl->cpu].dtl_enable_mask = dtl_event_mask;

Expand Down

0 comments on commit 9711032

Please sign in to comment.