1. 05 2月, 2015 1 次提交
  2. 28 11月, 2014 1 次提交
  3. 11 2月, 2014 1 次提交
  4. 08 1月, 2014 1 次提交
  5. 31 10月, 2013 3 次提交
    • L
      ACPICA: Add __init for ACPICA initializers/finalizers. · 45c9f78b
      Lv Zheng 提交于
      This patch adds __init to the ACPICA documented initializers:
        acpi_initialize_tables()
        acpi_initialize_subsystem()
        acpi_load_tables()
        acpi_enable_subsystem()
        acpi_initialize_objects()
      and to acpi_reallocate_root_table(), acpi_find_root_pointer() which
      are also meant to be called only during initialization.
      
      This patch adds __init to the ACPICA documented finalizer:
        acpi_terminate()
      as this finalizer is only called in __init function now.
      
      This change helps to reduce source code differences between
      ACPICA upstream and Linux.
      
      [rjw: Changelog]
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      45c9f78b
    • L
      ACPICA: Deploy ACPI_EXPORT_SYMBOL_INIT for main ACPICA initialization interfaces. · d21f600b
      Lv Zheng 提交于
      This changes can reduce source code differences between Linux and ACPICA
      upstream to help improving the release automation.
      
      The side effect of applying this patch in Linux is:
      1. Some ACPICA initialization/termination APIs are no longer exported in
         Linux, these include:
          acpi_load_tables
          acpi_initialize_subsystem
          acpi_enable_subsystem
          acpi_initialize_objects
          acpi_terminate
      2. This patch does not affect the following APIs as they are currently not
         marked with ACPI_EXPORT_SYMBOL in Linux:
          acpi_reallocate_root_table
          acpi_initialize_tables
      Such functions should not be exported as they are internal to ACPI
      subsystem in Linux, and will only be invoked inside of ACPI subsystem's
      initialization routines marked with __init and termination routines marked
      with __exit.  While on other OSPMs, such functions may still need to be
      exported.
      
      Thus this patch adds the configurability for ACPICA, so that it leaves
      OSPMs to determine if the __init/__exit marked functions should be exported
      or not.  Lv Zheng.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      d21f600b
    • L
      ACPICA: Add EXPORT_ACPI_INTERFACES macro to external interface modules. · 839e928f
      Lv Zheng 提交于
      For Linux, there are no functional changes/binary generation differences
      introduced by this patch.
      
      This change adds a new macro to all files that contain external ACPICA
      interfaces. It can be detected and used by the host (via the host-specific
      header) for any special processing required for such modules. Lv Zheng.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      839e928f
  6. 25 1月, 2013 1 次提交
  7. 21 9月, 2012 1 次提交