Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279779
b: refs/heads/master
c: f98b9a2
h: refs/heads/master
i:
  279777: ba523e0
  279775: e0c9c59
v: v3
  • Loading branch information
Javi Merino authored and Russell King committed Jan 3, 2012
1 parent bf5c97c commit cc9fd83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ec332a3756a22405d2fbd5352e3afab556cb205
refs/heads/master: f98b9a26fe08f7f9d7fb26ee3d9f167f79b2f6b6
8 changes: 7 additions & 1 deletion trunk/arch/arm/common/pl330.c
Original file line number Diff line number Diff line change
Expand Up @@ -1467,13 +1467,19 @@ int pl330_update(const struct pl330_info *pi)

/* Now that we are in no hurry, do the callbacks */
while (!list_empty(&pl330->req_done)) {
struct pl330_req *r;

rqdone = container_of(pl330->req_done.next,
struct _pl330_req, rqd);

list_del_init(&rqdone->rqd);

/* Detach the req */
r = rqdone->r;
rqdone->r = NULL;

spin_unlock_irqrestore(&pl330->lock, flags);
_callback(rqdone->r, PL330_ERR_NONE);
_callback(r, PL330_ERR_NONE);
spin_lock_irqsave(&pl330->lock, flags);
}

Expand Down

0 comments on commit cc9fd83

Please sign in to comment.