commit | 2938ffbd466d2811a6012609684a2298eef35065 | [log] [tgz] |
---|---|---|
author | Nathan Fontenot <nfont@austin.ibm.com> | Tue Oct 19 12:45:24 2010 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 22 10:16:44 2010 -0700 |
tree | 3d4d0209d71481e329eb68f0d82afe585b6a5da2 | |
parent | e4619c857d1d769b1172a75ba6b6ebd1186a9c58 [diff] |
Driver core: Add mutex for adding/removing memory blocks Add a new mutex for use in adding and removing of memory blocks. This is needed to avoid any race conditions in which the same memory block could be added and removed at the same time. Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com> Reviewed-by: Robin Holt <holt@sgi.com> Reviewed-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>