1. 07 2月, 2008 1 次提交
    • A
      ACPI: misc cleanups · e5685b9d
      Adrian Bunk 提交于
          This patch contains the following possible cleanups:
          - make the following needlessly global code static:
            - drivers/acpi/bay.c:dev_attr_eject
            - drivers/acpi/bay.c:dev_attr_present
            - drivers/acpi/dock.c:dev_attr_docked
            - drivers/acpi/dock.c:dev_attr_flags
            - drivers/acpi/dock.c:dev_attr_uid
            - drivers/acpi/dock.c:dev_attr_undock
            - drivers/acpi/pci_bind.c:acpi_pci_unbind()
            - drivers/acpi/pci_link.c:acpi_link_lock
            - drivers/acpi/sbs.c:acpi_sbs_callback()
            - drivers/acpi/sbshc.c:acpi_smbus_transaction()
            - drivers/acpi/sleep/main.c:acpi_sleep_prepare()
          - #if 0 the following unused global functions:
            - drivers/acpi/numa.c:acpi_unmap_pxm_to_node()
          - remove the following unused EXPORT_SYMBOL's:
            - acpi_register_gsi
            - acpi_unregister_gsi
            - acpi_strict
            - acpi_bus_receive_event
            - register_acpi_bus_type
            - unregister_acpi_bus_type
            - acpi_os_printf
            - acpi_os_sleep
            - acpi_os_stall
            - acpi_os_read_pci_configuration
            - acpi_os_create_semaphore
            - acpi_os_delete_semaphore
            - acpi_os_wait_semaphore
            - acpi_os_signal_semaphore
            - acpi_os_signal
            - acpi_pci_irq_enable
            - acpi_get_pxm
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Acked-by: NAlexey Starikovskiy <astarikovskiy@suse.de>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      e5685b9d
  2. 14 12月, 2007 1 次提交
    • J
      ACPI: fix modpost warnings · ffada891
      Jan Beulich 提交于
      for sn2_defconfig:
      
      WARNING: vmlinux.o(.text+0x4b8601): Section mismatch: reference to .init.data:node_to_pxm_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
      WARNING: vmlinux.o(.text+0x4b8741): Section mismatch: reference to .init.data:pxm_to_node_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')
      Signed-off-by: NJan Beulich <jbeulich@novell.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      ffada891
  3. 22 7月, 2007 2 次提交
    • D
      x86_64: fake pxm-to-node mapping for fake numa · 3484d798
      David Rientjes 提交于
      For NUMA emulation, our SLIT should represent the true NUMA topology of the
      system but our proximity domain to node ID mapping needs to reflect the
      emulated state.
      
      When NUMA emulation has successfully setup fake nodes on the system, a new
      function, acpi_fake_nodes() is called.  This function determines the proximity
      domain (_PXM) for each true node found on the system.  It then finds which
      emulated nodes have been allocated on this true node as determined by its
      starting address.  The node ID to PXM mapping is changed so that each fake
      node ID points to the PXM of the true node that it is located on.
      
      If the machine failed to register a SLIT, then we assume there is no special
      requirement for emulated node affinity so we use the default LOCAL_DISTANCE,
      which is newly exported to this code, as our measurement if the emulated nodes
      appear in the same PXM.  Otherwise, we use REMOTE_DISTANCE.
      
      PXM_INVAL and NID_INVAL are also exported to the ACPI header file so that we
      can compare node_to_pxm() results in generic code (in this case, the SRAT
      code).
      
      Cc: Len Brown <lenb@kernel.org>
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3484d798
    • D
      x86_64: various cleanups in NUMA scan node · ae2c6dcf
      David Rientjes 提交于
      In acpi_scan_nodes(), we immediately return -1 if acpi_numa <= 0, meaning
      we haven't detected any underlying ACPI topology or we have explicitly
      disabled its use from the command-line with numa=noacpi.
      
      acpi_table_print_srat_entry() and acpi_table_parse_srat() are only
      referenced within drivers/acpi/numa.c, so we can mark them as static and
      remove their prototypes from the header file.
      
      Likewise, pxm_to_node_map[] and node_to_pxm_map[] are only used within
      drivers/acpi/numa.c, so we mark them as static and remove their externs
      from the header file.
      
      The automatic 'result' variable is unused in acpi_numa_init(), so it's
      removed.
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Signed-off-by: NAndi Kleen <ak@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ae2c6dcf
  4. 02 6月, 2007 1 次提交
  5. 17 5月, 2007 1 次提交
  6. 09 5月, 2007 2 次提交
  7. 13 2月, 2007 4 次提交
  8. 03 2月, 2007 1 次提交
  9. 14 10月, 2006 1 次提交
  10. 02 7月, 2006 1 次提交
  11. 01 7月, 2006 1 次提交
  12. 28 6月, 2006 1 次提交
  13. 23 6月, 2006 1 次提交
  14. 05 8月, 2005 1 次提交
  15. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4