commit | 8970bfe706345223d39d33bfce5f8b29750ab716 | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@osdl.org> | Mon Jul 10 02:34:45 2006 -0400 |
committer | Len Brown <len.brown@intel.com> | Mon Jul 10 02:34:45 2006 -0400 |
tree | 0a1df121ce05018858e8a52df51281b8adae3c1c | |
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>