Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165709
b: refs/heads/master
c: 458e5ff
h: refs/heads/master
i:
  165707: b1dd67f
v: v3
  • Loading branch information
Jesper Dangaard Brouer authored and Linus Torvalds committed Sep 24, 2009
1 parent d9262a6 commit bba428d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 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: dd8ef1db87a486577b3a76e6ad45df52e12d0145
refs/heads/master: 458e5ff13e1bed050990d97e9aa55bcdafc951a7
5 changes: 1 addition & 4 deletions trunk/drivers/edac/edac_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ static void complete_edac_device_list_del(struct rcu_head *head)

edac_dev = container_of(head, struct edac_device_ctl_info, rcu);
INIT_LIST_HEAD(&edac_dev->link);
complete(&edac_dev->removal_complete);
}

/*
Expand All @@ -369,10 +368,8 @@ static void del_edac_device_from_global_list(struct edac_device_ctl_info
*edac_device)
{
list_del_rcu(&edac_device->link);

init_completion(&edac_device->removal_complete);
call_rcu(&edac_device->rcu, complete_edac_device_list_del);
wait_for_completion(&edac_device->removal_complete);
rcu_barrier();
}

/*
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/edac/edac_mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,16 +418,14 @@ static void complete_mc_list_del(struct rcu_head *head)

mci = container_of(head, struct mem_ctl_info, rcu);
INIT_LIST_HEAD(&mci->link);
complete(&mci->complete);
}

static void del_mc_from_global_list(struct mem_ctl_info *mci)
{
atomic_dec(&edac_handlers);
list_del_rcu(&mci->link);
init_completion(&mci->complete);
call_rcu(&mci->rcu, complete_mc_list_del);
wait_for_completion(&mci->complete);
rcu_barrier();
}

/**
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/edac/edac_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ static void complete_edac_pci_list_del(struct rcu_head *head)

pci = container_of(head, struct edac_pci_ctl_info, rcu);
INIT_LIST_HEAD(&pci->link);
complete(&pci->complete);
}

/*
Expand All @@ -185,9 +184,8 @@ static void complete_edac_pci_list_del(struct rcu_head *head)
static void del_edac_pci_from_global_list(struct edac_pci_ctl_info *pci)
{
list_del_rcu(&pci->link);
init_completion(&pci->complete);
call_rcu(&pci->rcu, complete_edac_pci_list_del);
wait_for_completion(&pci->complete);
rcu_barrier();
}

#if 0
Expand Down

0 comments on commit bba428d

Please sign in to comment.