]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[PATCH] Sparse fix to mm/vmscan.c
Randy Dunlap [Mon, 14 Jun 2004 06:16:38 +0000 (23:16 -0700)]
[PATCH] Sparse fix to mm/vmscan.c

Nick changed shrink_cache() to void, but one call was missed.

From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix nfs writepage behaviour
Andrew Morton [Mon, 14 Jun 2004 06:16:27 +0000 (23:16 -0700)]
[PATCH] Fix nfs writepage behaviour

From: Nick Piggin <nickpiggin@yahoo.com.au>

nfs_writepage() refuses to write back mapped pages at all on the page
reclaim path, causing systems to get locked up when there's a lot of dirty
mmapped data around.  The patch changes NFS so that it will start I/O
against these pages.

The code as it stands is designed to defer writeout to pdflush which can do
larger, more efficient I/Os.  But there shouldn't be much traffic by this
path, and going slow is better than not going at all.

Patch originally from Trond.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix x86-64 VIA systems with IOMMU debug
Andi Kleen [Mon, 14 Jun 2004 06:06:51 +0000 (23:06 -0700)]
[PATCH] Fix x86-64 VIA systems with IOMMU debug

VIA chipsets are broken and don't work with IOMMU enabled. For some mysterious
reason (the IOMMU logic is actually in the CPU) they manage to corrupt all
data going through the aperture to PCI devices.

There was a workaround previously that enabled the slower softmmu when VIA is
detected on the normal IOMMU path (when there is more than 3GB of memory). But
CONFIG_IOMMU_DEBUG took a short cut that was not handled, which ended up with
VIA systems not booting when this option is enabled.

This patch enables the workaround with CONFIG_IOMMU_DEBUG/iommu=force too

21 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Mon, 14 Jun 2004 06:04:26 +0000 (23:04 -0700)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Sun, 13 Jun 2004 10:07:49 +0000 (03:07 -0700)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into evo.osdl.org:/home/torvalds/v2.6/linux

21 years agoohci1394: Fix incorrect HPSB_WARNING to HPSB_ERR
Ben Collins [Sun, 13 Jun 2004 11:07:40 +0000 (07:07 -0400)]
ohci1394: Fix incorrect HPSB_WARNING to HPSB_ERR

Signed-off-by: Ben Collins <bcollins@debian.org>
21 years agoieee1394: Revision sync
Ben Collins [Sun, 13 Jun 2004 06:22:13 +0000 (02:22 -0400)]
ieee1394: Revision sync

Signed-off-by: Ben Collins <bcollins@debian.org>
21 years agoohci1394: Handle invalid max-packet-size.
Ben Collins [Sun, 13 Jun 2004 06:18:14 +0000 (02:18 -0400)]
ohci1394: Handle invalid max-packet-size.

Signed-off-by: Ben Collins <bcollins@debian.org>
21 years agoieee1394: Handle swsusp better in kernel threads.
Ben Collins [Sun, 13 Jun 2004 06:16:14 +0000 (02:16 -0400)]
ieee1394: Handle swsusp better in kernel threads.

Submitted-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Ben Collins <bcollins@debian.org>
21 years agoieee1394: Fix possible NULL ptr dereference with calls to find_ctx()
Ben Collins [Sun, 13 Jun 2004 06:13:46 +0000 (02:13 -0400)]
ieee1394: Fix possible NULL ptr dereference with calls to find_ctx()

Submitted-by: Hiromasa YOSHIMOTO <yosimoto@limu.is.kyushu-u.ac.jp>
Signed-off-by: Ben Collins <bcollins@debian.org>
21 years agoieee1394: CSR1212 Extended ROM bug fixes
Ben Collins [Sun, 13 Jun 2004 06:11:37 +0000 (02:11 -0400)]
ieee1394: CSR1212 Extended ROM bug fixes

  - Use vmalloc instead of kmalloc
  - Change delayed_reset_bus() to operate in a work_queue instead of a timer
    interrupt.
  - Fix hpsb_allocate_and_register_addrspace() to not allocate space on top
    of already allocated space.
  - Fix problems in csr1212.c filling ConfigROM images when extend ROMs are
    present.

Signed-off-by: Steve Kinneberg <kberg@linux1394.org>
Signed-off-by: Ben Collins <bcollins@debian.org>
21 years ago[PATCH] ppc64: Add definition for Apple Xserve G5 motherboard
Benjamin Herrenschmidt [Sun, 13 Jun 2004 02:10:34 +0000 (19:10 -0700)]
[PATCH] ppc64: Add definition for Apple Xserve G5 motherboard

This adds the definition for Apple XServe G5 motherboard to the
pmac_feature support file.

21 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Sun, 13 Jun 2004 01:58:35 +0000 (18:58 -0700)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into evo.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sun, 13 Jun 2004 00:11:26 +0000 (17:11 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into evo.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Sat, 12 Jun 2004 23:59:39 +0000 (16:59 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into evo.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sat, 12 Jun 2004 23:57:45 +0000 (16:57 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into evo.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] ia64: fix race in fsys_bubble_down to avoid fp-register corruption
Kenneth W. Chen [Sat, 12 Jun 2004 23:49:20 +0000 (16:49 -0700)]
[PATCH] ia64: fix race in fsys_bubble_down to avoid fp-register corruption

The fast system-call fall-back-path has a race: it reads PSR, modifies
some bits, then writes back the new PSR.  Unfortunately, the contents
of PSR may change between reading and writing it.  For example, an
interrupt could occur which could trigger a context-switch.  The
context-switch might in turn flush the floating-point-high (FPH)
partition to memory, clear PSR.MFH, and set PSR.DFH.  To prevent this
race, the patch below turns off PSR.I before reading PSR.

This fixes a floating-point corruption problem that was observed on a
system with a libc which has the fast system-call support enabled.

The performance impact is minimal (on the order of a handful of cycles).

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ramdisk: buffer_uptodate fix
Andrew Morton [Sat, 12 Jun 2004 23:45:58 +0000 (16:45 -0700)]
[PATCH] ramdisk: buffer_uptodate fix

I waffled over this for ages.  On balance, I think it's best to mark those
bh's as uptodate.

And on reflection, I'm not sure why we go bringing ramdisk blockdev pages
uptodate all over the place anyway.  But ramdisk is weird and it passes
testing.  Let those dogs sleep.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sparse fix for void return in selinux/hooks.c
Andrew Morton [Sat, 12 Jun 2004 23:45:44 +0000 (16:45 -0700)]
[PATCH] sparse fix for void return in selinux/hooks.c

From: Chris Wright <chrisw@osdl.org>

  CHECK   security/selinux/hooks.c
security/selinux/hooks.c:1383:34: warning: return expression in void function
security/selinux/hooks.c:3548:30: warning: return expression in void function
  CC      security/selinux/hooks.o

From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] s390: tape driver changes
Andrew Morton [Sat, 12 Jun 2004 23:45:29 +0000 (16:45 -0700)]
[PATCH] s390: tape driver changes

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

From: Stefan Bader <shbader@de.ibm.com>

tape driver changes:
 - Create seperate debug areas for core and discipline modules.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] s390: qeth network driver
Andrew Morton [Sat, 12 Jun 2004 23:45:15 +0000 (16:45 -0700)]
[PATCH] s390: qeth network driver

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

From: Frank Pavlic <pavlic@de.ibm.com>
From: Thomas Spatzier <tspat@de.ibm.com>

qeth network driver changes:
 - Use correct request length in arp/snmp requests.
 - Simplify handling of empty vs. primed buffers.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] s390: xpram device driver
Andrew Morton [Sat, 12 Jun 2004 23:45:01 +0000 (16:45 -0700)]
[PATCH] s390: xpram device driver

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

xpram device driver changes:
 - Allocate request queue with blk_alloc_queue.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] s390: common i/o layer
Andrew Morton [Sat, 12 Jun 2004 23:44:47 +0000 (16:44 -0700)]
[PATCH] s390: common i/o layer

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

From: Cornelia Huck <cohuck@de.ibm.com>

Common i/o layer changes:
 - Remove bogus defines.
 - Fix length of strncmp on bus id.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] s390: cleanup string functions
Andrew Morton [Sat, 12 Jun 2004 23:44:32 +0000 (16:44 -0700)]
[PATCH] s390: cleanup string functions

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Cleanup s390* string functions.  This replaces the 31/64 bit assembler
files (strcmp[64].S, strcpy[64].S & strncpy[64].S) with a single string.c
file that uses some inline assemblies to issue the string instructions.  In
addition some more of the generic string function got an architecture
dependent implementation.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] s390: simplify single stepped svc code
Andrew Morton [Sat, 12 Jun 2004 23:44:00 +0000 (16:44 -0700)]
[PATCH] s390: simplify single stepped svc code

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Introduce a TIF_SINGLE_STEP bit that causes do_debugger_trap to get called
at the end of a system call.  This way some code duplication in the program
check handler can get removed.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] s390: speedup strn{cpy,len}_from_user.
Andrew Morton [Sat, 12 Jun 2004 23:43:46 +0000 (16:43 -0700)]
[PATCH] s390: speedup strn{cpy,len}_from_user.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Speedup strncpy_from_user and strnlen_from_user by using the search string
instruction in the secondary space mode.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] s390: improve memory detection logic
Andrew Morton [Sat, 12 Jun 2004 23:43:29 +0000 (16:43 -0700)]
[PATCH] s390: improve memory detection logic

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

From: Guillaume Morin <guillaume@morinfr.org>

This patch improves the memory detection logic.  It detects any amount of
holes in the memory layout up to MEMORY_CHUNK blocks of available memory.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sparse: __user annotations for s390 drivers
Andrew Morton [Sat, 12 Jun 2004 23:43:15 +0000 (16:43 -0700)]
[PATCH] sparse: __user annotations for s390 drivers

From: Arnd Bergmann <arnd@arndb.de>

This should catch almost all s390 device drivers

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sparse: user annotations for s390 architecture
Andrew Morton [Sat, 12 Jun 2004 23:42:57 +0000 (16:42 -0700)]
[PATCH] sparse: user annotations for s390 architecture

From: Arnd Bergmann <arnd@arndb.de>

Lots of trivial changes to make sparse happy on s390 arch code, mostly
__user annotations.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] i4l: Tigerjet 320 chipset fix
Andrew Morton [Sat, 12 Jun 2004 23:42:42 +0000 (16:42 -0700)]
[PATCH] i4l: Tigerjet 320 chipset fix

From: Karsten Keil <kkeil@suse.de>

Solves a endless IRQ loop for Tigerjet 320 based ISDN cards.

Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ncpfs MAINTAINERS update
Andrew Morton [Sat, 12 Jun 2004 23:42:28 +0000 (16:42 -0700)]
[PATCH] ncpfs MAINTAINERS update

From: Jorn Engel <joern@wohnheim.fh-wedel.de>

Remove Volker as an NCP maintainer, he hasn't touched it in about 7 or
8 years, according to himself.  Volker has acked this change.

Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] dup_mmap() memory accounting fix
Andrew Morton [Sat, 12 Jun 2004 23:42:15 +0000 (16:42 -0700)]
[PATCH] dup_mmap() memory accounting fix

From: Hugh Dickins <hugh@veritas.com>

Oleg's patch was good in that exit_mmap usually does the un-accounting; but
dup_mmap still needs its own un-accounting for the case when it has charged
for a vma, but error before it's inserted into child mm's list.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] spoll_create size check
Andrew Morton [Sat, 12 Jun 2004 23:42:00 +0000 (16:42 -0700)]
[PATCH] spoll_create size check

From: Davide Libenzi <davidel@xmailserver.org>

This is a sanity check on the size parameter.  Nothing explodes w/out, but
the conversion to unsigned simply triggers a big allocation.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fix the exit-vs-timer race fix
Andrew Morton [Sat, 12 Jun 2004 23:41:45 +0000 (16:41 -0700)]
[PATCH] fix the exit-vs-timer race fix

As Roland McGrath <roland@redhat.com> points out, we need to zero
task->it_virt_value to prevent timer-based signal delivery, not
->it_virt_incr.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] es7000plat.c warning fix
Andrew Morton [Sat, 12 Jun 2004 23:41:31 +0000 (16:41 -0700)]
[PATCH] es7000plat.c warning fix

Lack of argument decls causes this warning:

arch/i386/mach-generic/../mach-es7000/es7000plat.c:53: warning: function declaration isn't a prototype

Let's stick the extern declaration in a header, which is where they always
should be.

Cc: "Brown, Len" <len.brown@intel.com>
Cc: "Protasevich, Natalie" <Natalie.Protasevich@UNISYS.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] fix modprobe_path and hotplug_path sizes and sysctl
Andrew Morton [Sat, 12 Jun 2004 23:41:17 +0000 (16:41 -0700)]
[PATCH] fix modprobe_path and hotplug_path sizes and sysctl

From: Andy Whitcroft <apw@shadowen.org>

Both modprobe_path and hotplug_path are arbitrarily sized at 256 bytes and
that size is also expressed directly in the sysctl code.  It seems
reasonable to define a standard length and use that for consitancy.  This
patch introduces the constant KMOD_PATH_LEN and uses that.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Update Documentation/filesystems/Locking
Andrew Morton [Sat, 12 Jun 2004 23:41:03 +0000 (16:41 -0700)]
[PATCH] Update Documentation/filesystems/Locking

From: Anton Altaparmakov <aia21@cam.ac.uk>

A filesystem's ->writepage() implementation nowadays must run either
redirty_page_for_writepage() or the combination of set_page_writeback()/
end_page_writeback().  Failure to do so leaves the page itself marked clean
but it is tagged as dirty in the radix tree (PAGECACHE_TAG_DIRTY).  This
incoherency can lead to all sorts of hard-to-debug problems in the
filesystem like having dirty inodes at umount and losing written data.

The patch updates Documentation/filesystems/Locking to reflect this
requirement.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sync_inodes_sb() stack reduction
Andrew Morton [Sat, 12 Jun 2004 23:40:49 +0000 (16:40 -0700)]
[PATCH] sync_inodes_sb() stack reduction

Reduce stack consumption in sync_inodes_sb() via read_page_state().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] page-writeback.c: use read_page_state()
Andrew Morton [Sat, 12 Jun 2004 23:40:35 +0000 (16:40 -0700)]
[PATCH] page-writeback.c: use read_page_state()

Use the new read_page_state() in page-writeback.c to avoid large on-stack
structures.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] vmscan.c: use read_page_state()
Andrew Morton [Sat, 12 Jun 2004 23:40:21 +0000 (16:40 -0700)]
[PATCH] vmscan.c: use read_page_state()

Use the new read_page_state() in vmscan.c to avoid large on-stack structures.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Implement read_page_state
Andrew Morton [Sat, 12 Jun 2004 23:40:07 +0000 (16:40 -0700)]
[PATCH] Implement read_page_state

struct page_state is large (148 bytes) and we put them on the stack in awkward
code paths (page reclaim...)

So implement a simple read_page_state() which can be used to pluck out a
single member from the all-cpus page_state accumulators.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] vmscan.c: struct scan_control
Andrew Morton [Sat, 12 Jun 2004 23:39:53 +0000 (16:39 -0700)]
[PATCH] vmscan.c: struct scan_control

From: Nick Piggin <nickpiggin@yahoo.com.au>

Replace lots of parameters to functions in mm/vmscan.c with a structure
struct scan_control.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] vmscan.c: move ->writepage invocation into its own function
Andrew Morton [Sat, 12 Jun 2004 23:39:39 +0000 (16:39 -0700)]
[PATCH] vmscan.c: move ->writepage invocation into its own function

From: Nick Piggin <nickpiggin@yahoo.com.au>

Move the invocation of ->writepage for to-be-reclaimed pages into
its own function "pageout".

From: Nikita Danilov <nikita@namesys.com>
with small changes from Nick Piggin

Signed-off-by: Nick Piggin <nickpiggin@cyberone.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] vmscan: try harder for GFP_NOFS allocators
Andrew Morton [Sat, 12 Jun 2004 23:39:25 +0000 (16:39 -0700)]
[PATCH] vmscan: try harder for GFP_NOFS allocators

Page reclaim bales out very early if reclaim isn't working out for !__GFP_FS
allocation attempts.

It was a fairly arbitrary thing in the first place and chances are the caller
will simply retry the allocation or will do something which is disruptive to
userspace.  So remove that code and do much more scanning.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] vmscan: handle synchronous writepage()
Andrew Morton [Sat, 12 Jun 2004 23:39:11 +0000 (16:39 -0700)]
[PATCH] vmscan: handle synchronous writepage()

Teach page reclaim to understand synchronous ->writepage implementations.

If ->writepage completed I/O prior to returning we can proceed to reclaim the
page without giving it another trip around the LRU.

This is beneficial for ramdisk-backed S_ISREG files: we can reclaim the file's
pages as fast as the ramdisk driver needs to allocate them and this prevents
I/O errors due to OOM in rd_blkdev_pagecache_IO().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] NUMAQ kconfig fix
Andrew Morton [Sat, 12 Jun 2004 23:38:57 +0000 (16:38 -0700)]
[PATCH] NUMAQ kconfig fix

NUMA-Q requires CONFIG_NUMA and CONFIG_DISCONTIGMEM to build.

Cc: Martin J. Bligh <mbligh@aracnet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] voyager linkage fix
Andrew Morton [Sat, 12 Jun 2004 23:38:43 +0000 (16:38 -0700)]
[PATCH] voyager linkage fix

From: William Lee Irwin III <wli@holomorphy.com>

Voyager doesn't support HT, so smp_num_siblings doesn't exist.

Cc: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Voyager doesn't support MCE
Andrew Morton [Sat, 12 Jun 2004 23:38:26 +0000 (16:38 -0700)]
[PATCH] Voyager doesn't support MCE

From: William Lee Irwin III <wli@holomorphy.com>

Voyager doesn't compile any of the APIC or IO-APIC -related code in
arch/i386/kernel/ at all -- so it's a logical impossibility that this could
ever work.

Cc: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] numaq mempolicy.c build fix
Andrew Morton [Sat, 12 Jun 2004 23:38:11 +0000 (16:38 -0700)]
[PATCH] numaq mempolicy.c build fix

From: William Lee Irwin III <wli@holomorphy.com>

mm/mempolicy.c: In function `verify_pages':
mm/mempolicy.c:246: warning: implicit declaration of function `kmap_atomic'
mm/mempolicy.c:249: warning: implicit declaration of function `kunmap_atomic'

pte_offset_map() invokes kmap_atomic() via macro, without including the
required header.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix exception trace printing on x86-64
Andrew Morton [Sat, 12 Jun 2004 23:37:58 +0000 (16:37 -0700)]
[PATCH] Fix exception trace printing on x86-64

From: Andi Kleen <ak@suse.de>

Originally by Juergen Kreileder, changed by me.

The test for unhandled signals was wrong.  Correct it.  This helps Java
users, who would see bogus printks in their kernel logs previously.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] s390: fix kmem_bufctl_t definition
Andrew Morton [Sat, 12 Jun 2004 23:37:44 +0000 (16:37 -0700)]
[PATCH] s390: fix kmem_bufctl_t definition

From: Arnd Bergmann <arnd@arndb.de>

On s390, kmem_bufctl_t was added inside of an #ifdef, breaking
64 bit builds.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] More fixes for the x86-64 machine check handler
Andrew Morton [Sat, 12 Jun 2004 23:37:29 +0000 (16:37 -0700)]
[PATCH] More fixes for the x86-64 machine check handler

From: Andi Kleen <ak@suse.de>

Fix more bad issues in the x86-64 machine check handler.

- Actually test status after reading it from the register, not before.

- Check the UC bit instead of the PCC bit to detect the bank which caused
  the exception.

- Add tolerant==3 level for easier testing. This will avoid any panics.

- Don't threat bank overflows as fatal - they must have come from a non
  fatal exception, which should not cause a panic.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] define for_each_cpu_mask() for uniprocessor
Andrew Morton [Sat, 12 Jun 2004 23:37:12 +0000 (16:37 -0700)]
[PATCH] define for_each_cpu_mask() for uniprocessor

From: Bruno Ducrot <poup@poupinou.org>

I'm trying to replace for_each_cpu() with for_each_cpu_mask() in
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c

Unfortunately, though, davej pointed me that for_each_cpu_mask() is not
defined in -bk if CONFIG_SMP is not defined.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix fwait on x86-64 too
Andi Kleen [Sat, 12 Jun 2004 23:30:41 +0000 (16:30 -0700)]
[PATCH] Fix fwait on x86-64 too

Discard FPU exceptions in exit and execve on x86-64 too.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[ARM PATCH] 1905/1: Add OMAP compressed boot debug serial output
Tony Lindgren [Sat, 12 Jun 2004 22:15:57 +0000 (23:15 +0100)]
[ARM PATCH] 1905/1: Add OMAP compressed boot debug serial output

Patch from Tony Lindgren

This patch adds OMAP compressed image debug serial output.

This patch contains updates to the following files:
   b/arch/arm/boot/compressed/head.S

21 years ago[ARM PATCH] 1908/1: Remove old OMAP header files
Tony Lindgren [Sat, 12 Jun 2004 22:11:28 +0000 (23:11 +0100)]
[ARM PATCH] 1908/1: Remove old OMAP header files

Patch from Tony Lindgren

This patch removes the following old files that have been renamed:
   include/asm-arm/arch-omap/omap-h2.h
   include/asm-arm/arch-omap/omap-innovator.h
   include/asm-arm/arch-omap/omap-perseus2.h

The new names for the files are board-*.h.

21 years ago[ARM] Tidy up patch 1925/1
Russell King [Sat, 12 Jun 2004 21:43:21 +0000 (22:43 +0100)]
[ARM] Tidy up patch 1925/1

Since each Kconfig file is now bracketed with if ARCH_foo ... endif,
we can remove the individual "depends on ARCH_foo" clauses against
each option.

21 years ago[ARM PATCH] 1925/1: ARM 'System Type' kernel config menu cleanup
Andrew Zabolotny [Sat, 12 Jun 2004 21:31:57 +0000 (22:31 +0100)]
[ARM PATCH] 1925/1: ARM 'System Type' kernel config menu cleanup

Patch from Andrew Zabolotny

This patch makes architecture-specific submenus under
"System Type" visible only if the corresponding architecture
is selected via the "ARM System Type" menu. Also comments
out IDE_POLL in mach-lh7a40x/Kconfig since it is undefined
and causes warnings during make menuconfig.

Signed-off-by: Andrew Zabolotny <zap@homelink.ru>
21 years ago[ARM PATCH] 1922/1: OMAP update 2/2: include files (replaces patch 1904/1)
Tony Lindgren [Sat, 12 Jun 2004 21:27:40 +0000 (22:27 +0100)]
[ARM PATCH] 1922/1: OMAP update 2/2: include files (replaces patch 1904/1)

Patch from Tony Lindgren

This patch syncs the mainline kernel with the linux-omap tree.
The highlights of the patch are:
- Register name clean-up. Mostly removes _REG from register names
  and replace OMAP1510P1 with OMAP1510. Also moves IO macros
  from hardware.h to io.h (Dirk Behme)
- Add DMA framebuffer hardware acceleration features (Imre Deak)
- Fix GPIO code not to do unnecessary address translations
  between physical and virtual addresses (Juha Yrjölä)
- Misc updates, such as OMAP gpio export fixes, additional
  multiplexing settings, include mach-types.h only where needed,
  show OMAP revision early during boot

21 years ago[ARM PATCH] 1923/1: OMAP update 1/2: arch files (replaces patch 1903/1)
Tony Lindgren [Sat, 12 Jun 2004 21:23:21 +0000 (22:23 +0100)]
[ARM PATCH] 1923/1: OMAP update 1/2: arch files (replaces patch 1903/1)

Patch from Tony Lindgren

This patch syncs the mainline kernel with the linux-omap tree.
The highlights of the patch are:
- Register name clean-up. Mostly removes _REG from register names
  and replace OMAP1510P1 with OMAP1510. Also moves IO macros
  from hardware.h to io.h (Dirk Behme)
- Add DMA framebuffer hardware acceleration features (Imre Deak)
- Fix GPIO code not to do unnecessary address translations
  between physical and virtual addresses (Juha Yrjölä)
- Misc updates, such as OMAP gpio export fixes, additional
  multiplexing settings, include mach-types.h only where needed,
  show OMAP revision early during boot

21 years ago[ARM] Update ARM memory layout documentation.
Russell King [Sat, 12 Jun 2004 21:13:21 +0000 (22:13 +0100)]
[ARM] Update ARM memory layout documentation.

This updates the memory layout documentation to indicate that certain
areas should remain unused.  It also corrects a few minor errors with
region end addresses.

21 years agoMerge pobox.com:/spare/repo/netdev-2.6/e100
Jeff Garzik [Sat, 12 Jun 2004 20:55:12 +0000 (16:55 -0400)]
Merge pobox.com:/spare/repo/netdev-2.6/e100
into pobox.com:/spare/repo/net-drivers-2.6

21 years agosparse cleanup of #include file
Linus Torvalds [Sat, 12 Jun 2004 12:29:44 +0000 (05:29 -0700)]
sparse cleanup of #include file

sparse tokenizes everything. Including #include
directives. Which means that it doesn't want to
see "//" in a include filename, since that's a
comment outside of a string.

And inside of a string it's too dark to read.

21 years agoFix x86 "clear_cpu()" macro.
Linus Torvalds [Sat, 12 Jun 2004 12:12:31 +0000 (05:12 -0700)]
Fix x86 "clear_cpu()" macro.

We need to clear all exceptions before synchronizing
with the FPU, since we aren't ready to handle a FP
exception here and we're getting rid of all FP state.

Special thanks to Alexander Nyberg for reports and
testing. Alternate patches by Sergey Vlasov and Andi
Kleen, who both worked on this.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[TG3]: Update driver version and reldate.
David S. Miller [Sat, 12 Jun 2004 04:43:36 +0000 (21:43 -0700)]
[TG3]: Update driver version and reldate.

21 years agoMerge nuts.davemloft.net:/disk1/BK/tg3work-2.6
David S. Miller [Sat, 12 Jun 2004 04:29:29 +0000 (21:29 -0700)]
Merge nuts.davemloft.net:/disk1/BK/tg3work-2.6
into nuts.davemloft.net:/disk1/BK/tg3-2.6

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sat, 12 Jun 2004 04:26:15 +0000 (21:26 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

21 years ago[TG3]: Chip support update and a power-save bug fix.
David S. Miller [Sat, 12 Jun 2004 04:22:24 +0000 (21:22 -0700)]
[TG3]: Chip support update and a power-save bug fix.

1) Add PCI IDs and driver entries for 5789, 5751M and
   5751F chips.  Mark 5751F chips as 10/100 only.
2) Call pci_restore_state() at beginning of tg3_resume() as
   this helps some chips come out of D3 more cleanly.

21 years ago[NET]: Add dst->ifdown callback.
Hideaki Yoshifuji [Sat, 12 Jun 2004 03:52:09 +0000 (20:52 -0700)]
[NET]: Add dst->ifdown callback.

Use it to release protocol specific objects that may be
tied to a dst cache object, at ifdown time.  Currently
this is used to release ipv4/ipv6 specific device state.

21 years agoMerge bk://kernel.bkbits.net/acme/net-2.6
David S. Miller [Sat, 12 Jun 2004 03:49:04 +0000 (20:49 -0700)]
Merge bk://kernel.bkbits.net/acme/net-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[NET] generalize some simple tcp sk_ack_backlog handling routines
Arnaldo Carvalho de Melo [Fri, 11 Jun 2004 22:09:38 +0000 (19:09 -0300)]
[NET] generalize some simple tcp sk_ack_backlog handling routines

Will be used by the poor cousins, starting with LLC.

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
21 years ago[NET] introduce sk_wait_evend and generalise tcp_data_wait
Arnaldo Carvalho de Melo [Fri, 11 Jun 2004 11:04:19 +0000 (08:04 -0300)]
[NET] introduce sk_wait_evend and generalise tcp_data_wait

Later patches will make other protocols use sk_wait_data and further generalisations
of tcp code will use sk_wait_event.

This is again to abstract away more stuff from poor network family writers, like
the SOCK_ASYNC_WAITDATA, etc.

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
21 years agoMerge bk://kernel.bkbits.net/acme/net-2.6
David S. Miller [Fri, 11 Jun 2004 09:33:01 +0000 (02:33 -0700)]
Merge bk://kernel.bkbits.net/acme/net-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[ARM] uaccess.h should include asm/memory.h not asm/arch/memory.h
Russell King [Thu, 10 Jun 2004 23:44:09 +0000 (00:44 +0100)]
[ARM] uaccess.h should include asm/memory.h not asm/arch/memory.h

21 years ago[ARM] Clean up io-acorn.
Russell King [Thu, 10 Jun 2004 23:34:23 +0000 (00:34 +0100)]
[ARM] Clean up io-acorn.

io-acorn.o is not necessary for CLPS711x build - the functions it
provides are defined as macros in asm/io.h, so they will never be
referenced.

io-acorn.o only provides insl/outsl, so the half-word IO macros
within are never used; remove them.

21 years ago[ARM] Add ucontext bits for sigaltstack handling.
Russell King [Thu, 10 Jun 2004 22:39:43 +0000 (23:39 +0100)]
[ARM] Add ucontext bits for sigaltstack handling.

21 years ago[NET] generalise tcp_eat_skb into sk_eat_skb
Arnaldo Carvalho de Melo [Thu, 10 Jun 2004 19:45:53 +0000 (16:45 -0300)]
[NET] generalise tcp_eat_skb into sk_eat_skb

It was already generic, so reflect this in the naming.

Later patches will make it be used in other network families.

21 years ago[IPV4]: Fix bug in arp_tables.c fix.
Andreas Dilger [Thu, 10 Jun 2004 15:41:36 +0000 (08:41 -0700)]
[IPV4]: Fix bug in arp_tables.c fix.

21 years agoMerge bk://kernel.bkbits.net/acme/net-2.6
David S. Miller [Thu, 10 Jun 2004 15:30:23 +0000 (08:30 -0700)]
Merge bk://kernel.bkbits.net/acme/net-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[PATCH] e100: fix sender hang after tx timeout
Scott Feldman [Thu, 10 Jun 2004 15:30:13 +0000 (11:30 -0400)]
[PATCH] e100: fix sender hang after tx timeout

* When e100 experiences a transmit timeout, it calls e100_up() to reset
the device.  e100_up calls netif_start_queue to release any flow block,
but doesn't reschedule.  This patch unblocks the flow and schedules Tx.
Jay Vosburgh [fubar@us.ibm.com].

Signed-off-by: scott.feldman@intel.com
21 years ago[PATCH] e100: fix skb leak in tx timeout
Scott Feldman [Thu, 10 Jun 2004 15:30:04 +0000 (11:30 -0400)]
[PATCH] e100: fix skb leak in tx timeout

* If e100 experiences a transmit timeout, and the tx ring is completely
full at the time, it will leak all of the skbs on the tx ring (because
extra logic is needed to distinguish ring full from ring empty).  Jay
Vosburgh [fubar@us.ibm.com].

Signed-off-by: scott.feldman@intel.com
21 years ago[PATCH] e100: stepping over err return code
Scott Feldman [Thu, 10 Jun 2004 15:29:56 +0000 (11:29 -0400)]
[PATCH] e100: stepping over err return code

* Spotted by Jay Vosburgh [fubar@us.ibm.com].  err return code was getting
stepped on in the case where we need to report low or no cb resources,
which in turn messed up the netif_stop_queue logic in xmit_frame.

Signed-off-by: scott.feldman@intel.com
21 years ago[IPV6]: Fix ICMP6 type checking tests in ah6.c and esp6.c
Shirley Ma [Thu, 10 Jun 2004 15:12:51 +0000 (08:12 -0700)]
[IPV6]: Fix ICMP6 type checking tests in ah6.c and esp6.c

Signed-off-by: Shirley Ma <mashirle@us.ibm.com>
Signed-off-by: David S. Miller <davem@redhat.com>
21 years ago[IPV6]: Initialize pmtu/advmss in ndisc dst entries.
Shirley Ma [Thu, 10 Jun 2004 15:08:55 +0000 (08:08 -0700)]
[IPV6]: Initialize pmtu/advmss in ndisc dst entries.

When creating dst entry from ndisc, the dst entry of pmtu is not set, and the
outout for this kind of dst entry is set to ip_output2 instead of ip_output.
This could lead to send bigger packets through these des entries without
fragmentation, and uninitialized pmtu could lead the network unreachable.

These problems are easy reproduced when configuring IPSEC for ipv6. IPSEC
could pick up dst entry created by ndisc as child des entry if ndisc dst
entry generated earlier. If sending bigger packets through IPSEC, the ip
output2 will send bigger packets out, the driver will drop these packets on
receiver side. Also the dst_entry pmtu will be 0, the network is unreachable.

The patch has been tested against 2.6.6. I am not sure why ndisc genereats dst
entry with output equal to ip6_output2 not ip6_output. If ndisc sends bigger
packets, it will break also.

Signed-off-by: Shirley Ma <mashirle@us.ibm.com>
Signed-off-by: David S. Miller <davem@redhat.com>
21 years ago[IPV4]: Fix unaligned accesses in arp_tables.c
David S. Miller [Thu, 10 Jun 2004 15:05:19 +0000 (08:05 -0700)]
[IPV4]: Fix unaligned accesses in arp_tables.c

21 years ago[NET]: Remove junk from packet_mmap.txt
Jesper Juhl [Thu, 10 Jun 2004 15:01:57 +0000 (08:01 -0700)]
[NET]: Remove junk from packet_mmap.txt

21 years ago[CRYPTO]: Fix digest.c kmapping sg entries > page in length.
Clay Haapala [Thu, 10 Jun 2004 14:58:26 +0000 (07:58 -0700)]
[CRYPTO]: Fix digest.c kmapping sg entries > page in length.

Below is the patch, against 2.6.7-rc2, to fix crypto/digest.c to do
multiple kmap()/kunmap() for scatterlist entries which have a size
greater than a single page, originally found and fixed by
N.C.Krishna Murthy <krmurthy@cisco.com>.

Signed-off-by: Clay Haapala <chaapala@cisco.com>
Signed-off-by: David S. Miller <davem@redhat.com>
21 years ago[TCP]: Receive buffer moderation fixes.
David S. Miller [Thu, 10 Jun 2004 14:53:15 +0000 (07:53 -0700)]
[TCP]: Receive buffer moderation fixes.

1) Make window clamp follow receive buffer growth so it
   does not limit window advertisements.  Noticed by John
   Heffner and Stephen Hemminger.
2) Fix rcvmem calculation such that tcp_adv_win_scale is
   taken into account.

21 years agoMerge bk://linux-ntfs.bkbits.net/ntfs-2.6
Linus Torvalds [Thu, 10 Jun 2004 01:24:04 +0000 (18:24 -0700)]
Merge bk://linux-ntfs.bkbits.net/ntfs-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoNTFS: 2.1.14 - Fix an NFSd caused deadlock reported by several users.
Anton Altaparmakov [Thu, 10 Jun 2004 14:23:23 +0000 (15:23 +0100)]
NTFS: 2.1.14 - Fix an NFSd caused deadlock reported by several users.

- Modify fs/ntfs/ntfs_readdir() to copy the index root attribute value
  to a buffer so that we can put the search context and unmap the mft
  record before calling the filldir() callback.  We need to do this
  because of NFSd which calls ->lookup() from its filldir callback()
  and this causes NTFS to deadlock as ntfs_lookup() maps the mft record
  of the directory and since ntfs_readdir() has got it mapped already
  ntfs_lookup() deadlocks.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
21 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Thu, 10 Jun 2004 10:02:41 +0000 (11:02 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

21 years agoMerge bk://drm.bkbits.net/drm-2.6
Linus Torvalds [Thu, 10 Jun 2004 01:22:00 +0000 (18:22 -0700)]
Merge bk://drm.bkbits.net/drm-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://drm.bkbits.net/drm-2.6
Dave Airlie [Sat, 12 Jun 2004 05:25:11 +0000 (15:25 +1000)]
Merge bk://drm.bkbits.net/drm-2.6
into starflyer.(none):/home/airlied/drm/drm-2.6

21 years agogamma_dma_priority and gamma_dma_send_buffers both deref d->send_indices
Dave Airlie [Sat, 12 Jun 2004 05:23:45 +0000 (15:23 +1000)]
gamma_dma_priority and gamma_dma_send_buffers both deref d->send_indices
and/or d->send_sizes.  When these functions are called from gamma_dma,
these pointers are user pointers and are thus not safe to deref.  This patch
copies over the pointers inside gamma_dma_priority and
gamma_dma_send_buffers.

Submitted-by: Robert T. Johnson <rtjohnso@eecs.berkeley.edu>
Signed-off-by: Dave Airlie <airlied@linux.ie>
21 years ago[PATCH] fix ide-cd racy completions
Jens Axboe [Thu, 10 Jun 2004 01:21:19 +0000 (18:21 -0700)]
[PATCH] fix ide-cd racy completions

This bug took forever to debug (just ask Ben :-).

When we move the completion event from the failed request to the sense
request, we risk either the initial complete and then later complete on
a long gone ->waiting.  I think this business of moving the completion
structure to the request sense is a bit bogus and always has been, and
the bug is fixed nicely by just rewriting this logic a bit.  So instead
we simply unconditionally dequeue the failed request (regardless of
whether it was REQ_PC or REQ_BLOCK_PC), and pass a reference to it in
the sense request.  When the sense completes, we call end io on the
originally failed request (which does the complete() etc).

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] SCSI_DPT_I2O should depend on PCI
Geert Uytterhoeven [Thu, 10 Jun 2004 01:10:50 +0000 (18:10 -0700)]
[PATCH] SCSI_DPT_I2O should depend on PCI

21 years ago[NET] Introduce sk_reset_timer and sk_stop_timer
Arnaldo Carvalho de Melo [Wed, 9 Jun 2004 13:38:52 +0000 (10:38 -0300)]
[NET] Introduce sk_reset_timer and sk_stop_timer

This makes the best practices already in place in bluetooth
and tcp/ip available for all protocols, i.e. references must
be managed when associating timers with struct sock instances,
also makes the code a bit more clean.

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
21 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Wed, 9 Jun 2004 10:11:32 +0000 (11:11 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

21 years agoThe dev->devname being passed to request_irq in drm_irq.h is null.
Dave Airlie [Wed, 9 Jun 2004 07:05:52 +0000 (17:05 +1000)]
The dev->devname being passed to request_irq in drm_irq.h is null.
With the old DRM interface, the devname was set in DRM(setunique),
but with the current DRM interface >=1.1 the devname is not being
set in DRM(set_busid).

From: Alan Swanson
Approved-by: Dave Airlie <airlied@linux.ie>
21 years ago[IPV6]: Add IP6CB.
Hideaki Yoshifuji [Wed, 9 Jun 2004 06:39:40 +0000 (23:39 -0700)]
[IPV6]: Add IP6CB.