summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMark M. Hoffman <mhoffman@lightlink.com>2006-03-05 22:13:47 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-23 22:21:55 (GMT)
commitded2b66615613093eeb83b81499bc270de8fc499 (patch)
tree118f87f38a4b7a2c8d65f38beb85fa63da78fb4f /Documentation
parentf6c27fc17c5e575c5471fb344bdbd5f5f6072136 (diff)
downloadlinux-fsl-qoriq-ded2b66615613093eeb83b81499bc270de8fc499.tar.xz
[PATCH] hwmon: add required idr locking
Add required locking around idr_ routines, retry the idr_pre_get/idr_get_new pair properly, and sprinkle in some likely/unlikely for good measure. (Lack of idr locking didn't hurt when all callers were I2C clients, as the i2c-core serialized for us anyway. Now that we have non I2C hwmon drivers, this is truly necessary.) Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions