From: Eduardo Valentin Date: Mon, 12 Nov 2012 15:58:50 +0000 (+0000) Subject: thermal: cpu cooling: use const parameter while registering X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~60^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3778ff5c709899a29cefe4b3077a926d0e1e9785;p=pandora-kernel.git thermal: cpu cooling: use const parameter while registering There are predefined cpu_masks that are const data structures. This patch changes the cpu cooling register function so that those const cpu_masks can be used, without compilation warnings. include/linux/cpumask.h * The following particular system cpumasks and operations manage * possible, present, active and online cpus. * * cpu_possible_mask- has bit 'cpu' set iff cpu is populatable * cpu_present_mask - has bit 'cpu' set iff cpu is populated * cpu_online_mask - has bit 'cpu' set iff cpu available to scheduler * cpu_active_mask - has bit 'cpu' set iff cpu available to migration * Signed-off-by: Eduardo Valentin Signed-off-by: Zhang Rui --- Reading git-diff-tree failed