1. 29 8月, 2009 2 次提交
    • L
      ACPI: Move definition of PREFIX from acpi_bus.h to internal..h · a192a958
      Len Brown 提交于
      Linux/ACPI core files using internal.h all PREFIX "ACPI: ",
      however, not all ACPI drivers use/want it -- and they
      should not have to #undef PREFIX to define their own.
      
      Add GPL commment to internal.h while we are there.
      
      This does not change any actual console output,
      asside from a whitespace fix.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      a192a958
    • F
      ACPI, x86: expose some IO-APIC routines when CONFIG_ACPI=n · 2a4ab640
      Feng Tang 提交于
      Some IO-APIC routines are ACPI specific now, but need to
      be exposed when CONFIG_ACPI=n for the benefit of SFI.
      
      Remove #ifdef ACPI around these routines:
      
      io_apic_get_unique_id(int ioapic, int apic_id);
      io_apic_get_version(int ioapic);
      io_apic_get_redir_entries(int ioapic);
      
      Move these routines from ACPI-specific boot.c to io_apic.c:
      
      uniq_ioapic_id(u8 id)
      mp_find_ioapic()
      mp_find_ioapic_pin()
      mp_register_ioapic()
      
      Also, since uniq_ioapic_id() is now no longer static,
      re-name it to io_apic_unique_id() for consistency
      with the other public io_apic routines.
      
      For simplicity, do not #ifdef the resulting code ACPI || SFI,
      thought that could be done in the future if it is important
      to optimize the !ACPI !SFI IO-APIC x86 kernel for size.
      Signed-off-by: NFeng Tang <feng.tang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      Cc: x86@kernel.org
      2a4ab640
  2. 28 8月, 2009 9 次提交
  3. 27 8月, 2009 29 次提交
反馈
建议
客服 返回
顶部