author | Nishanth Menon <nm@ti.com> | |
Fri, 18 Jan 2013 19:52:32 +0000 (19:52 +0000) | ||
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | |
Tue, 22 Jan 2013 12:28:39 +0000 (13:28 +0100) | ||
commit | f44d188acdca1a34e4439ca6a173f85086e0e655 | |
tree | af5fe5cd356ec1ee834dd1125b6bdc408402bd2f | tree | snapshot (tar.xz tar.gz zip) |
parent | 25216865392a6e1f3032855aee7407de1fe0b70c | commit | diff |
cpufreq: OMAP: use RCU locks around usage of OPP
OPP pointer is RCU protected, hence after finding it, de-reference
also should be protected with the same RCU context else the OPP
pointer may become invalid.
Reported-by: Alexander Holler <holler@ahsoftware.de>
Tested-by: Alexander Holler <holler@ahsoftware.de>
Acked-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
OPP pointer is RCU protected, hence after finding it, de-reference
also should be protected with the same RCU context else the OPP
pointer may become invalid.
Reported-by: Alexander Holler <holler@ahsoftware.de>
Tested-by: Alexander Holler <holler@ahsoftware.de>
Acked-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/omap-cpufreq.c | diff | blob | history |