1. 17 10月, 2007 2 次提交
  2. 11 10月, 2007 3 次提交
  3. 20 7月, 2007 1 次提交
    • P
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt 提交于
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      20c2df83
  4. 10 7月, 2007 1 次提交
  5. 16 6月, 2007 1 次提交
    • C
      ieee1394: fix to ether1394_tx in ether1394.c · 18b46179
      Carlos E. Ugarte 提交于
      This patch fixes a problem that occurs when packets cannot be sent across
      the ieee1394 bus and we return NETDEV_TX_BUSY in the net driver "hard start
      xmit" routine ether1394_tx. When we return NETDEV_TX_BUSY the stack will
      call ether1394_tx again with the same skb. So we need to restore the header
      to look like it did before we munged it for xmit over ieee1394.
      
      [Stefan Richter: changed whitespace, deleted a local variable]
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      18b46179
  6. 28 5月, 2007 3 次提交
  7. 30 4月, 2007 21 次提交
  8. 26 4月, 2007 2 次提交
  9. 23 3月, 2007 1 次提交
  10. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  11. 08 12月, 2006 2 次提交
    • B
      ieee1394: Consolidate driver registering · ed30c26e
      Ben Collins 提交于
      This patch consolidates some bookkeeping for driver registering. It
      closely models what pci_register_driver() does. The main addition is
      that the owner of the driver is set, so we get a proper symlink
      for /sys/bus/ieee1394/driver/*/module.
      
      Also moves setting of name and bus type into nodemgr. Because of this,
      we can remove the EXPORT_SYMBOL for ieee1394_bus_type, since it's now
      only used in ieee1394.ko.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      ed30c26e
    • C
      [PATCH] slab: remove kmem_cache_t · e18b890b
      Christoph Lameter 提交于
      Replace all uses of kmem_cache_t with struct kmem_cache.
      
      The patch was generated using the following script:
      
      	#!/bin/sh
      	#
      	# Replace one string by another in all the kernel sources.
      	#
      
      	set -e
      
      	for file in `find * -name "*.c" -o -name "*.h"|xargs grep -l $1`; do
      		quilt add $file
      		sed -e "1,\$s/$1/$2/g" $file >/tmp/$$
      		mv /tmp/$$ $file
      		quilt refresh
      	done
      
      The script was run like this
      
      	sh replace kmem_cache_t "struct kmem_cache"
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e18b890b
  12. 31 10月, 2006 1 次提交
  13. 18 9月, 2006 1 次提交