aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memory.h
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@austin.ibm.com>2010-10-19 12:45:24 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:16:44 -0700
commit2938ffbd466d2811a6012609684a2298eef35065 (patch)
tree3d4d0209d71481e329eb68f0d82afe585b6a5da2 /include/linux/memory.h
parentDriver core: Move find_memory_block routine (diff)
downloadlinux-dev-2938ffbd466d2811a6012609684a2298eef35065.tar.xz
linux-dev-2938ffbd466d2811a6012609684a2298eef35065.zip
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>
Diffstat (limited to 'include/linux/memory.h')
0 files changed, 0 insertions, 0 deletions