diff options
author | Mark M. Hoffman <mhoffman@lightlink.com> | 2006-03-05 23:13:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 14:21:55 -0800 |
commit | ded2b66615613093eeb83b81499bc270de8fc499 (patch) | |
tree | 118f87f38a4b7a2c8d65f38beb85fa63da78fb4f /include/asm-xtensa | |
parent | f6c27fc17c5e575c5471fb344bdbd5f5f6072136 (diff) |
[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 'include/asm-xtensa')
0 files changed, 0 insertions, 0 deletions