ACPI: Defer enabling of level GPE until all pending notifies done
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Tue, 13 Nov 2007 10:05:45 +0000 (13:05 +0300)
committerLen Brown <len.brown@intel.com>
Fri, 7 Dec 2007 02:54:43 +0000 (21:54 -0500)
commit17bc54eef91df29f0a22e8a1562a404cf7a68e74
tree48f6f26a243789582721e2a3419346ea22a6dcc9
parentf194d132e4971111f85c18c96067acffb13cee6d
ACPI: Defer enabling of level GPE until all pending notifies done

Level GPE should not be enabled until all work caused by it is done,
e.g. all Notify() methods are completed.
This can be accomplished by appending enable_gpe function to the end
of notify queue.

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Acked-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/events/evgpe.c
drivers/acpi/osl.c