diff options
author | Lv Zheng <lv.zheng@intel.com> | 2015-11-27 16:24:27 +0800 |
---|---|---|
committer | Lv Zheng <lv.zheng@intel.com> | 2015-12-08 14:59:54 +0800 |
commit | 5ea0fb75fdf1aa7c0aba067dfa4d5dc3a9279461 (patch) | |
tree | a58c762ee4ac8ca1d6388279bc7004f2c2b83da6 /source/components/debugger | |
parent | b916a0a0ae9e81db1a85523c63ec6aa32d5c70c8 (diff) | |
download | acpica-5ea0fb75fdf1aa7c0aba067dfa4d5dc3a9279461.tar.gz |
Events: Uses CommonNotify for address space handlers
The address space handlers can be attached to not only Device but also
Processor/ThermalZone objects, so it is better to use their common
class 'CommonNotify' instead. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Diffstat (limited to 'source/components/debugger')
-rw-r--r-- | source/components/debugger/dbdisply.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/components/debugger/dbdisply.c b/source/components/debugger/dbdisply.c index c76e4fca1..a923b6ed6 100644 --- a/source/components/debugger/dbdisply.c +++ b/source/components/debugger/dbdisply.c @@ -1112,7 +1112,7 @@ AcpiDbDisplayHandlers ( AcpiUtGetRegionName ((UINT8) SpaceId), SpaceId); HandlerObj = AcpiEvFindRegionHandler ( - SpaceId, ObjDesc->Device.Handler); + SpaceId, ObjDesc->CommonNotify.Handler); if (HandlerObj) { AcpiOsPrintf (ACPI_HANDLER_PRESENT_STRING, @@ -1133,7 +1133,7 @@ AcpiDbDisplayHandlers ( /* Find all handlers for user-defined SpaceIDs */ - HandlerObj = ObjDesc->Device.Handler; + HandlerObj = ObjDesc->CommonNotify.Handler; while (HandlerObj) { if (HandlerObj->AddressSpace.SpaceId >= ACPI_USER_REGION_BEGIN) @@ -1244,7 +1244,7 @@ AcpiDbDisplayNonRootHandlers ( /* Display all handlers associated with this device */ - HandlerObj = ObjDesc->Device.Handler; + HandlerObj = ObjDesc->CommonNotify.Handler; while (HandlerObj) { AcpiOsPrintf (ACPI_PREDEFINED_PREFIX, |