From: Tang Chen Date: Wed, 20 Feb 2013 02:14:11 +0000 (+1100) Subject: Bug fix: Fix the wrong comments of map_entries. X-Git-Tag: next-20130220~1^2~553 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f53a0fb65ef9da3e75fa6ac9452ade33cc402623;p=karo-tx-linux.git Bug fix: Fix the wrong comments of map_entries. Now we have a map_entries_lock to protect map_entries list. So we need to update the comments. Signed-off-by: Tang Chen Cc: Wen Congyang Cc: Yasuaki Ishimatsu Cc: Tang Chen Cc: Kamezawa Hiroyuki Signed-off-by: Andrew Morton --- diff --git a/drivers/firmware/memmap.c b/drivers/firmware/memmap.c index 940c4e946d0b..ae823b4a362f 100644 --- a/drivers/firmware/memmap.c +++ b/drivers/firmware/memmap.c @@ -108,11 +108,7 @@ static struct kobj_type memmap_ktype = { * Registration functions ------------------------------------------------------ */ -/* - * Firmware memory map entries. No locking is needed because the - * firmware_map_add() and firmware_map_add_early() functions are called - * in firmware initialisation code in one single thread of execution. - */ +/* Firmware memory map entries. */ static LIST_HEAD(map_entries); static DEFINE_SPINLOCK(map_entries_lock);