From: James Bottomley Date: Mon, 5 Jul 2010 20:53:06 +0000 (+0200) Subject: pm_qos: Get rid of the allocation in pm_qos_add_request() X-Git-Tag: v2.6.36-rc1~577^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82f682514a5df89ffb3890627eebf0897b7a84ec;p=pandora-kernel.git pm_qos: Get rid of the allocation in pm_qos_add_request() All current users of pm_qos_add_request() have the ability to supply the memory required by the pm_qos routines, so make them do this and eliminate the kmalloc() with pm_qos_add_request(). This has the double benefit of making the call never fail and allowing it to be called from atomic context. Signed-off-by: James Bottomley Signed-off-by: mark gross Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed