1. 08 1月, 2014 4 次提交
  2. 21 11月, 2013 1 次提交
  3. 31 10月, 2013 6 次提交
    • 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: Cleanup asmlinkage for ACPICA APIs. · 40bce100
      Lv Zheng 提交于
      Add an asmlinkage wrapper around acpi_enter_sleep_state() to prevent
      an empty stub from being called by assmebly code for ACPI_REDUCED_HARDWARE
      set.
      
      As arch/x86/kernel/acpi/wakeup_xx.S is only compiled when CONFIG_ACPI=y
      and there are no users of ACPI_HARDWARE_REDUCED, currently this is in
      fact not a real issue, but a cleanup to reduce source code differences
      between Linux and ACPICA upstream.
      
      [rjw: Changelog]
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      40bce100
    • L
      ACPICA: Add new statistics interface. · 9187a415
      Lv Zheng 提交于
      This patch ports new counters and statistics interface, already
      implemented in ACPICA upstream, to Linux.  That helps to reduce
      source code differences between Linux and ACPICA upstream.
      
      [rjw: Changelog]
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      9187a415
    • B
      ACPICA: Update version to 20130927. · affffae3
      Bob Moore 提交于
      Version 20130927.
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      affffae3
    • L
      ACPICA: Fix indentation issues for macro invocations. · cd27d79f
      Lv Zheng 提交于
      During the automatic translation of the upstream ACPICA source code
      into Linux kernel source code some extra white spaces are added by
      the "indent" program at the beginning of each line which is an
      invocation of a macro and there is no ";" at the end of the line.
      
      For this reason, a new mode has been added to the translation scripts
      to remove the extra spaces inserted before invoking such macros and add
      an empty line between the invocations of such macros (like the other
      function declarations).  This new mode is executed after executing
      "indent" during the Linux release process.  Consequently, some
      existing ACPICA source code in the Linux kernel tree needs to be
      adjusted to allow the new scripts to work correctly.
      
      The affected macros and files are:
       1. ACPI_HW_DEPENDENT_RETURN (acpixf.h/acdebug.h/acevents.h):
          This macro is used as a wrapper for hardware dependent APIs to offer
          a stub when the reduced hardware is configured during compilation.
       2. ACPI_EXPORT_SYMBOL (utglobal.c):
          This macro is used by Linux to export symbols to be found by Linux
          modules.  All such invocations are well formatted except those
          exported as global variables.
      
      This can help to reduce the source code differences between Linux
      and upstream ACPICA, and also help to automate the release process.
      No functional or binary generation changes should result from it.
      Lv Zheng.
      
      [rjw: Changelog]
      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>
      cd27d79f
    • L
      ACPICA: Prevent possible build issues for use of ACPI_PRINTF_LIKE macro · 4506bf23
      Lv Zheng 提交于
      The following build error:
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         CC      arch/x86/kernel/setup.o
       In file included from include/acpi/acpi.h:64:0,
                        from include/linux/iscsi_ibft.h:24,
                        from arch/x86/kernel/setup.c:43:
       include/acpi/acpixf.h:543:1: error: expected ',' or ';' before '{' token
       include/acpi/acpixf.h:540:1: warning: 'acpi_error' declared 'static' but never defined [-Wunused-function]
       make[2]: *** [arch/x86/kernel/setup.o] Error 1
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      can be triggerred by the following stub function (if implemented):
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       static inline void ACPI_INTERNAL_VAR_XFACE
       acpi_error(const char *module_name,
       	   u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3)
       {
       }
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      This patch changes the position of ACPI_PRINTF_LIKE(x) to follow the
      style of __printf(x, x+1) used in Linux to prevent such issues from
      happening.  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>
      4506bf23
  4. 30 10月, 2013 2 次提交
  5. 24 9月, 2013 2 次提交
  6. 13 8月, 2013 2 次提交
  7. 23 7月, 2013 2 次提交
  8. 18 7月, 2013 1 次提交
  9. 20 6月, 2013 1 次提交
  10. 16 6月, 2013 1 次提交
  11. 02 6月, 2013 1 次提交
  12. 12 4月, 2013 1 次提交
  13. 12 3月, 2013 1 次提交
  14. 25 1月, 2013 2 次提交
  15. 11 1月, 2013 1 次提交
  16. 10 1月, 2013 6 次提交
  17. 15 11月, 2012 4 次提交
  18. 03 10月, 2012 1 次提交
  19. 21 9月, 2012 1 次提交