diff options
author | Daniel Walker <dwalker@mvista.com> | 2008-02-04 23:35:47 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-19 19:10:19 -0700 |
commit | da19cbcf71cde3c09587b5924d113f0c7f1fd23a (patch) | |
tree | f1731d6a0f8606afcc283c5540055d8e56bb7309 /mm/memory_hotplug.c | |
parent | 610ad5064cb90aec35f5837bbde3d316fe02aca7 (diff) | |
download | linux-stable-da19cbcf71cde3c09587b5924d113f0c7f1fd23a.tar.gz linux-stable-da19cbcf71cde3c09587b5924d113f0c7f1fd23a.tar.bz2 linux-stable-da19cbcf71cde3c09587b5924d113f0c7f1fd23a.zip |
driver core: memory: semaphore to mutex
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r-- | mm/memory_hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 7469c503580d..0fb330271271 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -208,7 +208,7 @@ int online_pages(unsigned long pfn, unsigned long nr_pages) /* * This doesn't need a lock to do pfn_to_page(). * The section can't be removed here because of the - * memory_block->state_sem. + * memory_block->state_mutex. */ zone = page_zone(pfn_to_page(pfn)); pgdat_resize_lock(zone->zone_pgdat, &flags); |