1. 05 5月, 2009 1 次提交
  2. 02 5月, 2009 2 次提交
  3. 28 4月, 2009 1 次提交
  4. 27 4月, 2009 1 次提交
    • T
      Add new HEAD_TEXT_SECTION macro. · c80d471a
      Tim Abbott 提交于
      This patch is preparation for replacing all uses of ".head.text" or
      ".text.head" in the kernel with macros, so that the section name can
      later be changed without having to touch a lot of the kernel.
      
      Since some linker scripts do more complex things than referencing
      HEAD_TEXT, we add a HEAD_TEXT_SECTION macro that just contains the
      actual name.
      
      I've defined HEAD_TEXT_SECTION in a new header,
      include/linux/section-names.h, so that this section name only needs to
      appear in one place.  I anticipate creating similar macro structures
      for a number of other section names.
      
      The long-term goal here is to be able to change the kernel's magic
      section names to those that are compatible with -ffunction-sections
      -fdata-sections.  This requires renaming all magic sections with names
      of the form ".text.foo".
      Signed-off-by: NTim Abbott <tabbott@mit.edu>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c80d471a
  5. 25 4月, 2009 1 次提交
  6. 24 4月, 2009 3 次提交
  7. 23 4月, 2009 4 次提交
    • S
      bitops: Add __ffs64 bitop · 952043ac
      Steven Whitehouse 提交于
      Finds the first set bit in a 64 bit word. This is required in order
      to fix a bug in GFS2, but I think it should be a generic function
      in case of future users.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      Reviewed-by: NChristoph Lameter <cl@linux.com>
      Reviewed-by: NWilly Tarreau <w@1wt.eu>
      952043ac
    • L
      ACPI: delete obsolete "bus master activity" proc field · 92614610
      Len Brown 提交于
      Linux-2.6.29 deleted the legacy ACPI idle handler, leaving
      the CPU_IDLE handler, which does not track bus master activity.
      
      So delete the unused bm_activity field -- it is confusing to
      print an always zero value.
      
      This patch could break programs that parse
      /proc/acpi/processor/*/power, since it deletes this
      line from that file:
      
      bus master activity:     00000000
      
      http://bugzilla.kernel.org/show_bug.cgi?id=13145
      is not fixed by this patch, but provoked this patch.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      92614610
    • Y
      PCI: only save/restore existent registers in the PCIe capability · 1b6b8ce2
      Yu Zhao 提交于
      PCIe 1.1 base neither requires the endpoint to implement the entire
      PCIe capability structure nor specifies default values of registers
      that are not implemented by the device. So we only save and restore
      registers that must be implemented by different device types if the
      device PCIe capability version is 1.
      
      PCIe 1.1 Capability Structure Expansion ECN and PCIe 2.0 requires
      all registers in the PCIe capability to be either implemented or
      hardwired to 0. Their PCIe capability version is 2.
      Signed-off-by: NYu Zhao <yu.zhao@intel.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      1b6b8ce2
    • M
      ASoC: Add power supply widget to DAPM · 246d0a17
      Mark Brown 提交于
      Many modern CODECs have shared resources on chip which must be enabled
      for portions of the chip to work but which can be disabled at other times
      in order to achieve power savings. Examples of such resources include
      power supplies and some internal clocks.
      
      Since these widgets are dependencies for the audio path but do not carry
      audio signals they require slightly different handling to most widgets -
      they do not contribute to the audio path and so should not be counted as
      either inputs or outputs during path walks.
      
      Cases where one supply provides a supply for another will require
      additional work. There is also room for more optimisation of the graph
      walking to avoid repeated checks for the same thing.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      246d0a17
  8. 22 4月, 2009 13 次提交
  9. 21 4月, 2009 7 次提交
  10. 20 4月, 2009 2 次提交
    • R
      PM/Suspend: Introduce two new platform callbacks to avoid breakage · 6a7c7eaf
      Rafael J. Wysocki 提交于
      Commit 900af0d9 (PM: Change suspend
      code ordering) changed the ordering of suspend code in such a way
      that the platform .prepare() callback is now executed after the
      device drivers' late suspend callbacks have run.  Unfortunately, this
      turns out to break ARM platforms that need to talk via I2C to power
      control devices during the .prepare() callback.
      
      For this reason introduce two new platform suspend callbacks,
      .prepare_late() and .wake(), that will be called just prior to
      disabling non-boot CPUs and right after bringing them back on line,
      respectively, and use them instead of .prepare() and .finish() for
      ACPI suspend.  Make the PM core execute the .prepare() and .finish()
      platform suspend callbacks where they were executed previously (that
      is, right after calling the regular suspend methods provided by
      device drivers and right before executing their regular resume
      methods, respectively).
      
      It is not necessary to make analogous changes to the hibernation
      code and data structures at the moment, because they are only used
      by ACPI platforms.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: NLen Brown <len.brown@intel.com>
      6a7c7eaf
    • R
      <linux/seccomp.h> needs to include <linux/errno.h>. · 42a17ad2
      Ralf Baechle 提交于
      <linux/seccomp.h> uses EINVAL so should include <linux/errno.h>.  This
      fixes a build error on 64-bit MIPS if CONFIG_SECCOMP is disabled.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      42a17ad2
  11. 18 4月, 2009 2 次提交
    • D
      USB: add reset endpoint operations · 3444b26a
      David Vrabel 提交于
      Wireless USB endpoint state has a sequence number and a current
      window and not just a single toggle bit.  So allow HCDs to provide a
      endpoint_reset method and call this or clear the software toggles as
      required (after a clear halt, set configuration etc.).
      
      usb_settoggle() and friends are then HCD internal and are moved into
      core/hcd.h and all device drivers call usb_reset_endpoint() instead.
      
      If the device endpoint state has been reset (with a clear halt) but
      the host endpoint state has not then subsequent data transfers will
      not complete. The device will only work again after it is reset or
      disconnected.
      Signed-off-by: NDavid Vrabel <david.vrabel@csr.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      3444b26a
    • L
      Get rid of final remnants of include/asm-$(ARCH) · df42654e
      Linus Torvalds 提交于
      This renames include/asm-h8300/timer.h into arch/h8300/include/asm: it
      was left over just because that file had been created in the -mm tree
      before the whole h8300 header subdirectory had been moved, and then got
      merged in the old location afterwards.
      
      (See commits e0b0f9e4: "h8300: update
      timer handler - new files" and 758db3f2:
      "[h8300] move include/asm-h8300 to arch/h8300/include/asm" for details).
      
      This also removes a left-over .gitignore file in include/asm-arm that
      became stale when the ARM header files were moved (which happened in
      multiple commits, just see "git log -- include/asm-arm" for details).
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      df42654e
  12. 17 4月, 2009 3 次提交
新手
引导
客服 返回
顶部