1. 22 5月, 2010 5 次提交
  2. 19 5月, 2010 2 次提交
  3. 18 5月, 2010 1 次提交
    • G
      serial167: Kill unused variables · f3c7f317
      Geert Uytterhoeven 提交于
      commits 638157bc ("serial167: prepare to push
      BKL down into drivers") and 4165fe4e ("tty:
      Fix up char drivers request_room usage") removed code without removing the
      corresponding variables:
      
      | drivers/char/serial167.c: In function 'cd2401_rx_interrupt':
      | drivers/char/serial167.c:630: warning: unused variable 'len'
      | drivers/char/serial167.c: In function 'cy_ioctl':
      | drivers/char/serial167.c:1531: warning: unused variable 'val'
      
      Remove the variables to kill the warnings.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      f3c7f317
  4. 17 5月, 2010 2 次提交
    • F
      procfs: Push down the bkl from ioctl · d79b6f4d
      Frederic Weisbecker 提交于
      Push down the bkl from procfs's ioctl main handler to its users.
      Only three procfs users implement an ioctl (non unlocked) handler.
      Turn them into unlocked_ioctl and push down the Devil inside.
      
      v2: PDE(inode)->data doesn't need to be under bkl
      v3: And don't forget to git-add the result
      v4: Use wrappers to pushdown instead of an invasive and error prone
          handlers surgery.
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: John Kacur <jkacur@redhat.com>
      Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
      Cc: Al Viro <viro@ZenIV.linux.org.uk>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      d79b6f4d
    • R
      TPM: ACPI/PNP dependency removal · 7f2ab000
      Rajiv Andrade 提交于
      This patch pushes the ACPI dependency into the device driver code
      itself. Now, even without ACPI/PNP enabled, the device can be registered
      using the TIS specified memory space. This will however result in the
      lack of access to the BIOS event log, being the only implication of such
      ACPI removal.
      Signed-off-by: NRajiv Andrade <srajiv@linux.vnet.ibm.com>
      Acked-by: NMimi Zohar <zohar@linux.vnet.ibm.com>
      Signed-off-by: NJames Morris <jmorris@namei.org>
      7f2ab000
  5. 14 5月, 2010 1 次提交
  6. 11 5月, 2010 1 次提交
  7. 10 5月, 2010 4 次提交
    • D
      pcmcia: dev_node removal (remaining drivers) · b498ada6
      Dominik Brodowski 提交于
      As a fourth step, remove any remaining usages of
      dev_node_t from drivers:
      
      - ipwireless can be simplified a bit, as we do not need
        to pass around the (write-only) dev_node_t around.
      
      - avma1_cs can be simplified as well, if we only keep the
        minor number around as "priv" data, not a full-fledged
        struct.
      Acked-by: NJiri Kosina <jkosina@suse.cz>
      Acked-by: NKarsten Keil  <isdn@linux-pingi.de>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      b498ada6
    • D
      pcmcia: dev_node removal (drivers with updated printk call) · ded6a1a3
      Dominik Brodowski 提交于
      As a second step, remove any usage of dev_node_t from drivers which
      only wrote to this typedef/struct, except one printk() which can
      easily be replaced by a dev_info()/dev_warn() call.
      
      CC: Harald Welte <laforge@gnumonks.org>
      CC: linux-ide@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: netdev@vger.kernel.org
      CC: linux-usb@vger.kernel.org
      Acked-by: NKarsten Keil  <isdn@linux-pingi.de>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      ded6a1a3
    • D
      pcmcia: dev_node removal (write-only drivers) · 317b6d63
      Dominik Brodowski 提交于
      dev_node_t was only used to transport some minor/major numbers
      from the PCMCIA device drivers to deprecated userspace helpers.
      However, only a few drivers made use of it, and the userspace
      helpers are deprecated anyways. Therefore, get rid of dev_node_t .
      
      As a first step, remove any usage of dev_node_t from drivers which
      only wrote to this typedef/struct, but did not make use of it.
      
      CC: linux-bluetooth@vger.kernel.org
      CC: Harald Welte <laforge@gnumonks.org>
      CC: linux-mtd@lists.infradead.org
      CC: linux-wireless@vger.kernel.org
      CC: netdev@vger.kernel.org
      CC: linux-serial@vger.kernel.org
      CC: alsa-devel@alsa-project.org
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      317b6d63
    • D
      pcmcia: re-work pcmcia_request_irq() · eb14120f
      Dominik Brodowski 提交于
      Instead of the old pcmcia_request_irq() interface, drivers may now
      choose between:
      
      - calling request_irq/free_irq directly. Use the IRQ from *p_dev->irq.
      
      - use pcmcia_request_irq(p_dev, handler_t); the PCMCIA core will
        clean up automatically on calls to pcmcia_disable_device() or
        device ejection.
      
      - drivers still not capable of IRQF_SHARED (or not telling us so) may
        use the deprecated pcmcia_request_exclusive_irq() for the time
        being; they might receive a shared IRQ nonetheless.
      
      CC: linux-bluetooth@vger.kernel.org
      CC: netdev@vger.kernel.org
      CC: linux-wireless@vger.kernel.org
      CC: linux-serial@vger.kernel.org
      CC: alsa-devel@alsa-project.org
      CC: linux-usb@vger.kernel.org
      CC: linux-ide@vger.kernel.org
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      eb14120f
  8. 07 5月, 2010 1 次提交
    • J
      Revert "TPM: ACPI/PNP dependency removal" · ec4a162a
      James Morris 提交于
      This reverts commit b89e66e1.
      
      > > When CONFIG_PM is not set:
      > >
      > > drivers/built-in.o: In function `acpi_init':
      > > bus.c:(.init.text+0x2d84): undefined reference to `pm_flags'
      > > bus.c:(.init.text+0x2d91): undefined reference to `pm_flags'
      >
      > CONFIG_ACPI depends on CONFIG_PM,
      > so acpi/bus.c should not be compiled for CONFIG_PM=n
      >
      > Hmm, is is somebody doing something strange, like "select ACPI"
      > without guaranteeing that all of ACPI's dependencies are satisfied?
      Signed-off-by: NJames Morris <jmorris@namei.org>
      ec4a162a
  9. 05 5月, 2010 1 次提交
  10. 01 5月, 2010 1 次提交
  11. 23 4月, 2010 1 次提交
    • J
      agp: use scratch page on memory remove and at GATT creation V4 · 61cf0593
      Jerome Glisse 提交于
      Convert most AGP chipset to use scratch page as default entries.
      This help avoiding GPU querying 0 address and trigger computer
      fault. With KMS and memory manager we bind/unbind AGP memory
      constantly and it seems that some GPU are still doing AGP
      traffic even after GPU report being idle with the memory segment.
      
      Tested (radeon GPU KMS + Xorg + compiz + glxgears + quake3) on :
      - SIS 1039:0001 & 1039:0003
      - Intel 865 8086:2571
      
      Compile tested for other bridges
      
      V2 enable scratch page on uninorth
      V3 fix unbound check in uninorth insert memory (Michel Dänzer)
      V4 rebase on top of drm-next branch with the lastest intel AGP
         changeset (stable should use version V3 of the patch)
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NMichel Dänzer <michel@daenzer.net>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      61cf0593
  12. 22 4月, 2010 1 次提交
    • F
      tracing: Dump either the oops's cpu source or all cpus buffers · cecbca96
      Frederic Weisbecker 提交于
      The ftrace_dump_on_oops kernel parameter, sysctl and sysrq let one
      dump every cpu buffers when an oops or panic happens.
      
      It's nice when you have few cpus but it may take ages if have many,
      plus you miss the real origin of the problem in all the cpu traces.
      
      Sometimes, all you need is to dump the cpu buffer that triggered the
      opps, most of the time it is our main interest.
      
      This patch modifies ftrace_dump_on_oops to handle this choice.
      
      The ftrace_dump_on_oops kernel parameter, when it comes alone, has
      the same behaviour than before. But ftrace_dump_on_oops=orig_cpu
      will only dump the buffer of the cpu that oops'ed.
      
      Similarly, sysctl kernel.ftrace_dump_on_oops=1 and
      echo 1 > /proc/sys/kernel/ftrace_dump_on_oops keep their previous
      behaviour. But setting 2 jumps into cpu origin dump mode.
      
      v2: Fix double setup
      v3: Fix spelling issues reported by Randy Dunlap
      v4: Also update __ftrace_dump in the selftests
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Acked-by: NSteven Rostedt <rostedt@goodmis.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Li Zefan <lizf@cn.fujitsu.com>
      Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
      cecbca96
  13. 20 4月, 2010 1 次提交
  14. 19 4月, 2010 8 次提交
  15. 14 4月, 2010 3 次提交
  16. 08 4月, 2010 4 次提交
  17. 07 4月, 2010 3 次提交