]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: processor: use .notify method instead of installing handler directly
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 30 Mar 2009 17:48:24 +0000 (17:48 +0000)
committerLen Brown <len.brown@intel.com>
Sun, 5 Apr 2009 06:25:07 +0000 (02:25 -0400)
commit7ec0a7290797f57b780f792d12f4bcc19c83aa4f
tree30826d0452f43040f938f85fcd0e10f507df7a2f
parent373cfc360ec773be2f7615e59a19f3313255db7c
ACPI: processor: use .notify method instead of installing handler directly

This patch adds a .notify() method.  The presence of .notify() causes
Linux/ACPI to manage event handlers and notify handlers on our behalf,
so we don't have to install and remove them ourselves.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
CC: Zhang Rui <rui.zhang@intel.com>
CC: Zhao Yakui <yakui.zhao@intel.com>
CC: Venki Pallipadi <venkatesh.pallipadi@intel.com>
CC: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_core.c