diff options
author | Andrew Morton <akpm@osdl.org> | 2006-07-10 02:34:45 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-07-10 02:34:45 -0400 |
commit | 8970bfe706345223d39d33bfce5f8b29750ab716 (patch) | |
tree | 0a1df121ce05018858e8a52df51281b8adae3c1c /drivers/hwmon | |
parent | 953969ddf5b049361ed1e8471cc43dc4134d2a6f (diff) |
ACPI: SBS: fix initialization, sem2mutex
cm_sbs_sem is being downed (via acpi_ac_init->acpi_lock_ac_dir) before it is
initialised, with grave results.
- Make it a mutex
- Initialise it
- Make it static
- Clean other stuff up.
Thanks to Paul Drynoff <pauldrynoff@gmail.com> for reporting and testing.
Cc: Rich Townsend <rhdt@bartol.udel.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions