]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.11-rc4 v2.6.11-rc4
Linus Torvalds [Sat, 12 Feb 2005 10:58:36 +0000 (02:58 -0800)]
Linux 2.6.11-rc4

20 years ago[PATCH] Eicon driver: remove ^M characters from xdi_vers.h
Armin Schindler [Sat, 12 Feb 2005 08:05:38 +0000 (00:05 -0800)]
[PATCH] Eicon driver: remove ^M characters from xdi_vers.h

This removes the CRs from the kernel file of Eicon ISDN driver.

20 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Sat, 12 Feb 2005 05:13:42 +0000 (21:13 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ARM PATCH] 2471/1: S3C2440 - fix S3C2440_CAMDIVN register address
Ben Dooks [Sat, 12 Feb 2005 19:57:14 +0000 (19:57 +0000)]
[ARM PATCH] 2471/1: S3C2440 - fix S3C2440_CAMDIVN register address

Patch from Ben Dooks

Off by 4 error on S3C2440_CAMDVIN register address, and
re-indented the pll calculation code to proper C style.
Thanks to Guillaume Gourat for spotting the register mistake

Signed-off-by: Guillaume Gourat
Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2468/1: S3C2440 - GPIOJ12 register fix
Ben Dooks [Sat, 12 Feb 2005 19:49:29 +0000 (19:49 +0000)]
[ARM PATCH] 2468/1: S3C2440 - GPIOJ12 register fix

Patch from Ben Dooks

GPIOJ12 alternate function is CAMRESET, not CAMCLKOUT
as mis-copied on creation
Patch from Guillaume Gourat

Signed-off-by: Guillaume Gourat
Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2473/1: fix alignment trap handler for big-endian
Lennert Buytenhek [Sat, 12 Feb 2005 19:42:47 +0000 (19:42 +0000)]
[ARM PATCH] 2473/1: fix alignment trap handler for big-endian

Patch from Lennert Buytenhek

The alignment trap handler in arch/arm/mm/alignment.c performs halfword
and word accesses by translating them into byte accessing and then
combining the pieces.  However, it assumes little-endian byte ordering
in doing so, which causes unaligned accesses on big-endian platforms
to erroneously load or store byteswapped data.
This patch was pulled from an old 2.4 -ds tree, and appears to fix the
issue.  It was submitted for 2.4 at the time (ARM patch ID 1205/1206),
but rejected since big-endian ARM platforms are not supported in 2.4.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
20 years ago[SPARC]: Do not BUG() in srmmu_pte_pfn().
David S. Miller [Sat, 12 Feb 2005 03:14:59 +0000 (19:14 -0800)]
[SPARC]: Do not BUG() in srmmu_pte_pfn().

For device memory, just return a value that will never
cause pte_pfn() to return true.

Noticed by Tom Callaway.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: fb: Fix putcmap handling in sbuslib
Tom 'spot' Callaway [Fri, 11 Feb 2005 15:28:08 +0000 (07:28 -0800)]
[SPARC]: fb: Fix putcmap handling in sbuslib

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[CG3]: Set framebuffer cmap correctly.
Tom 'spot' Callaway [Fri, 11 Feb 2005 15:26:37 +0000 (07:26 -0800)]
[CG3]: Set framebuffer cmap correctly.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[CG3]: FB mmap .voff and .poff were reversed.
Bob Breuer [Fri, 11 Feb 2005 15:24:22 +0000 (07:24 -0800)]
[CG3]: FB mmap .voff and .poff were reversed.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] raid5 and raid6 fixes to current bk tree
Dave Olien [Fri, 11 Feb 2005 12:42:01 +0000 (04:42 -0800)]
[PATCH] raid5 and raid6 fixes to current bk tree

This fixes the raid5 and raid6 prolems that crept in with the recent
introduction of "bi_max_vecs".

Since raid5/raid6 allocate their own bio's, they need to make sure
that bi_max_vecs is updated along with bi_vcnt.

20 years ago[PATCH] megaraid_mbox fix
Alexander Viro [Fri, 11 Feb 2005 10:15:08 +0000 (02:15 -0800)]
[PATCH] megaraid_mbox fix

wrong order of arguments in memset().

This, BTW, shows why cross-builds are useful - the only indication of
problem had been a new warning showing up in sparse output on alpha
build (number exceeding 256 got truncated).

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
20 years ago[PATCH] Fix small vmalloc per allocation limit
Andi Kleen [Fri, 11 Feb 2005 10:03:52 +0000 (02:03 -0800)]
[PATCH] Fix small vmalloc per allocation limit

The vmap vmalloc rework in 2.5 had a unintended side effect.  vmalloc uses
kmalloc now to allocate an array with a list of pages.  kmalloc has a 128K
maximum.  This limits the vmalloc maximum size to 64MB on a 64bit system
with 4K pages.  That limit causes problems with other subsystems, e.g.
iptables relies on allocating large vmallocs for its rule sets.

This is a bug IMHO - on 64bit platforms there shouldn't be such a low limit
on the vmalloc size.  And even on 32bit it's too small for custom kernels
with enlarged vmalloc area.

Another problem is that this makes vmalloc unreliable.  After the system
has been running for some time it is unlikely that kmalloc will be able to
allocate >order 2 pages due to memory fragmentation.

This patch takes the easy way out for fixing this by just allocating this
array with vmalloc when it is larger than a page.  While more complicated
and intrusive solutions would be possible they didn't use vmalloc
recursively they didn't seem it worth to handle this very infrequent case.

Please note that the vmalloc recursion is strictly bounded because each
nested allocation will generate a much smaller stack frame.  Also the
kernel stack can handle even a few recursion steps easily because vmalloc
has only a small stack frame.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: fix typos in cpm_uart_cpm2.c
Andrei Konovalov [Fri, 11 Feb 2005 10:03:37 +0000 (02:03 -0800)]
[PATCH] ppc32: fix typos in cpm_uart_cpm2.c

This patch removes excess '~' before the bit masks.

Signed-off-by: Andrei Konovalov <akonovalov@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] kmalloc() bug in pci-dma.c
Venkatesh Pallipadi [Fri, 11 Feb 2005 10:03:23 +0000 (02:03 -0800)]
[PATCH] kmalloc() bug in pci-dma.c

dma_declare_coherent_memory() is calling kmalloc with wrong arguments.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: Fix PCI2 support on MPC8555/41 CDS systems
Kumar Gala [Fri, 11 Feb 2005 08:53:38 +0000 (00:53 -0800)]
[PATCH] ppc32: Fix PCI2 support on MPC8555/41 CDS systems

This fixes an issue related to the second PCI host controller working on
MPC8555/41 systems.

We track the last PCI bus number on PCI1 so that the PCI2 host
controller can properly exclude itself at the right time, exclusion
should occur after initial setup so that the early pci config cycles in
setting PCI2 actually get to the controller.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Fri, 11 Feb 2005 06:24:27 +0000 (22:24 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Fri, 11 Feb 2005 06:20:51 +0000 (22:20 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] Eicon driver: code cleanups
Armin Schindler [Fri, 11 Feb 2005 04:50:47 +0000 (20:50 -0800)]
[PATCH] Eicon driver: code cleanups

Cleanups (initially sent by Adrian Bunk):
 - make some needlessly global code static
 - removed obsolete #define OLD_MAX_DESCRIPTORS
 - removed more platform independend code not used in linux
 - removed dos-<CR> at end of lines
 - fix indentation in already modified files

Signed-off-by: Armin Schindler <armin@melware.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Eicon driver: convert to pci_register_driver
Armin Schindler [Fri, 11 Feb 2005 04:49:19 +0000 (20:49 -0800)]
[PATCH] Eicon driver: convert to pci_register_driver

convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Armin Schindler <armin@melware.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] general split_vma hugetlb fix
Hugh Dickins [Fri, 11 Feb 2005 04:48:00 +0000 (20:48 -0800)]
[PATCH] general split_vma hugetlb fix

My recent do_munmap hugetlb fix has proved inadequate.  There are
other places (madvise, mbind, mlock, mprotect) where split_vma is
called.  Only mprotect excludes a hugetlb vma: the others are in
danger of splitting at a misaligned address, causing later BUGs.

So move the ~HPAGE_MASK check from do_munmap to split_vma itself;
and fix up those places (madvise and mlock) which expect split_vma
can fail only with -ENOMEM, and wish to convert that to -EAGAIN.
(It appears genuine that some of these syscalls should be failing
with -ENOMEM and some with -EAGAIN, so respect those behaviours.)

madvise_dontneed doesn't use split_vma, but is equally in danger
of causing a hugetlb BUG via zap_page_range.  Whereas elsewhere the
patch is permissive (allowing the operation on a hugetlb vma even when
pointless, so long as it doesn't missplit it), here we must use -EINVAL
on any hugetlb vma, since a page fault would hit the BUG in its nopage.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[TG3]: Update driver version and reldate.
David S. Miller [Fri, 11 Feb 2005 04:45:20 +0000 (20:45 -0800)]
[TG3]: Update driver version and reldate.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[TG3]: capacitive coupling detection fix
Michael Chan [Fri, 11 Feb 2005 04:42:59 +0000 (20:42 -0800)]
[TG3]: capacitive coupling detection fix

This patch fixes the problem reported in:

http://marc.theaimsgroup.com/?l=linux-kernel&m=110798711911645&w=2

The 5700 link problem was caused by reading uninitialized values in sram and
causing capacitive coupling mode to be enabled by mistake. This patch fixes
the problem by properly validating the sram contents.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] Fix the mincore() syscall
David Howells [Fri, 11 Feb 2005 03:01:29 +0000 (19:01 -0800)]
[PATCH] Fix the mincore() syscall

This fixes the mincore syscall in three ways:

 (1) It moves as much argument checking outside of the semaphore-holding
     region as possible.

 (2) It checks the region parameters against TASK_SIZE so that a 32-bit binary
     on a 64-bit platform will get the right error when calling this syscall
     on a region that overlaps the end of the 32-bit address space.

 (3) It tidies up the VMA checking loop a little.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-Off-By: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] FRV: Fix sigaltstack handling for RT signals
David Howells [Fri, 11 Feb 2005 00:19:59 +0000 (16:19 -0800)]
[PATCH] FRV: Fix sigaltstack handling for RT signals

The attached patch fixes sigaltstack handling for RT signal return. It was
reading a userspace struct into kernel space and then passing the kernel copy
to a generic signalling routine which then assumed it had been passed a
userspace pointer...

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-Off-By: Alexander Viro <aviro@redhat.com>
Signed-Off-By: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] i2c compat ioctl breakage
Alexander Viro [Fri, 11 Feb 2005 00:19:45 +0000 (16:19 -0800)]
[PATCH] i2c compat ioctl breakage

do_i2c_rdwr_ioctl() does two compat_alloc_user_space().  That doesn't
work; no state is kept and second allocation will ignore the first one
(i.e.  give overlapping chunk of user stack).

Fixed by doing allocation at once, slightly cleaned up.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] portability problem in dm-stripe.c
Alexander Viro [Fri, 11 Feb 2005 00:04:10 +0000 (16:04 -0800)]
[PATCH] portability problem in dm-stripe.c

dm-stripe does do_div() on potentially 32bit data.  do_div()
implementation has every right to be Not Happy(tm) with that...

The fix is obvious - that's what sector_div() is for...

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] mips: remove TANBAC_TB0219 doubly registered in kernel config
Yoichi Yuasa [Fri, 11 Feb 2005 00:03:57 +0000 (16:03 -0800)]
[PATCH] mips: remove TANBAC_TB0219 doubly registered in  kernel config

This patch removes TANBAC_TB0219 doubly registered in kernel config.

Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] mark the mcd cdrom driver as BROKEN
Adrian Bunk [Fri, 11 Feb 2005 00:03:43 +0000 (16:03 -0800)]
[PATCH] mark the mcd cdrom driver as BROKEN

The mcd driver drives only very old hardware (some single and double speed
CD drives that were connected either via the soundcard or a special ISA
card), and the mcdx driver offers more functionality for the same hardware.

My plan is to mark MCD as broken in 2.6.11 and if noone complains
completely remove this driver some time later.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] radeonfb update
Benjamin Herrenschmidt [Fri, 11 Feb 2005 00:03:30 +0000 (16:03 -0800)]
[PATCH] radeonfb update

It adds the sleep support for newer powermacs, improve power saving on some
laptops, makes use of the new fbdev modelist management routines, and fixes
a few backlight related issues.

I tested it on a thinkpad T30 and a few PPC boxes with success.  It should
be less invasive than the previous one (I don't try to restore the mode on
exit, that is what breaks the thinkpad and possibly other stuffs that boot
in VGA text mode), plus fixed a couple of bugs in the mode detection code.
I also reverted the memory map fix on ppc since it doesn't work properly on
some recent laptops where the firmware sets a tiled display.  I'll rework
that completely to update the memory map as part of the mode setting later.
That should fix various issues when switching with X/DRI on x86.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] update aty128fb sleep/wakeup code for new powermac changes
Benjamin Herrenschmidt [Fri, 11 Feb 2005 00:03:14 +0000 (16:03 -0800)]
[PATCH] update aty128fb sleep/wakeup code for new powermac changes

This patch updates aty128fb power management code to the changes of the
powermac sleep mecanism.  It makes the driver use the new hook for early
wakeup, adds the call to the arch code indicating wether it can wakeup the
chip, etc...  This patch shouldn't break non-ppc, but this should be
tested.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Add try_acquire_console_sem
Benjamin Herrenschmidt [Fri, 11 Feb 2005 00:03:00 +0000 (16:03 -0800)]
[PATCH] Add try_acquire_console_sem

The new PowerMac sleep code provides an arch hook that can be used by video
drivers on laptops to bring back the screen very early, pretty much before
anything else.  This basically turns reports of the style "my laptop doesn't
wakeup" to "I get this or this oops/error/panic on wakeup", making fixing the
PM related bugs possible on a whole range of them.

However, the fbdev wakeup code triggers WARN_ON's in the VT subsystem if
called without the console semaphore when redrawing the screen (I added those
warnings a couple of kernel versions ago), and we can't call
acquire_console_sem() since we are so early in the wakeup process that we are
considered as in_atomic() (we hold irqs off too).

This patch addds a try_acquire_console_sem() function that can be used by
those video drivers that implement this early wakeup hook.  If the acquire
fails (which should never happen in practice), wakeup is delayed to the normal
PCI callback which does a blocking acquire_console_sem().

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Update to IPMI driver to support old DMI spec
Corey Minyard [Fri, 11 Feb 2005 00:02:47 +0000 (16:02 -0800)]
[PATCH] Update to IPMI driver to support old DMI spec

The 1999 version of the DMI spec had a different configuration than the
newer versions for the IPMI configuration information.  This patch handles
the differences between the two.

Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: use PTRACE_OLDSETOPTIONS instead of PTRACE_SETOPTIONS
Bodo Stroesser [Fri, 11 Feb 2005 00:02:33 +0000 (16:02 -0800)]
[PATCH] uml: use PTRACE_OLDSETOPTIONS instead of PTRACE_SETOPTIONS

In linux 2.6, PTRACE_SETOPTIONS is redefined to 0x4200, while the old 2.4
value (21) is still available as PTRACE_OLDSETOPTIONS.

So, if UML uses PTRACE_SETOPTIONS, an UML-kernel built on a 2.6 won't run
on a 2.4 host.  Hence we must use PTRACE_OLDSETOPTIONS.

For cases when PTRACE_OLDSETOPTIONS does not exists (i.e.  2.4 host or
archs which miss it because they don't have a "deprecated" value), we
fallback this macro to PTRACE_SETOPTIONS.

Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: fix makefile typo
Jeff Dike [Fri, 11 Feb 2005 00:02:19 +0000 (16:02 -0800)]
[PATCH] uml: fix makefile typo

Fix a typo in the Makefile cleanup merged earlier, which causes compile
failures in some edge cases.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Thu, 10 Feb 2005 16:34:58 +0000 (08:34 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

20 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Thu, 10 Feb 2005 16:33:55 +0000 (08:33 -0800)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

20 years ago[NET]: Use TASK_COMM_LEN instead of magic constant.
Hideaki Yoshifuji [Thu, 10 Feb 2005 11:20:37 +0000 (03:20 -0800)]
[NET]: Use TASK_COMM_LEN instead of magic constant.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[DOC]: Fix typo in atomic_ops.txt
David S. Miller [Thu, 10 Feb 2005 11:17:56 +0000 (03:17 -0800)]
[DOC]: Fix typo in atomic_ops.txt

s/smb_/smp_/

Noticed by Werner Almesberger.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: sunlance iomem annotations.
Alexander Viro [Thu, 10 Feb 2005 11:12:30 +0000 (03:12 -0800)]
[SPARC]: sunlance iomem annotations.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC64]: NULL noise removal in arch/sparc64/prom/memory.c
Alexander Viro [Thu, 10 Feb 2005 11:10:57 +0000 (03:10 -0800)]
[SPARC64]: NULL noise removal in arch/sparc64/prom/memory.c

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: __user annotations in ELF_CORE_COPY_REGS
Alexander Viro [Thu, 10 Feb 2005 11:10:08 +0000 (03:10 -0800)]
[SPARC]: __user annotations in ELF_CORE_COPY_REGS

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: Fix I/O accessor routines.
Alexander Viro [Thu, 10 Feb 2005 11:09:26 +0000 (03:09 -0800)]
[SPARC]: Fix I/O accessor routines.

* insb et.al. first argument is unsigned long, not void * (just look
at their callers).  There _is_ a variant that takes void __iomem *, but that's
ioread8_rep() and its friends.
* exported the rest of these suckers (insl/outsl already had been).

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: No iBCS2 on sparc, TYVM...
Alexander Viro [Thu, 10 Feb 2005 11:08:35 +0000 (03:08 -0800)]
[SPARC]: No iBCS2 on sparc, TYVM...

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: __user annotations in sparc checksum.h
Alexander Viro [Thu, 10 Feb 2005 11:07:55 +0000 (03:07 -0800)]
[SPARC]: __user annotations in sparc checksum.h

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: __user annotations around sparc{32,64} ptrace ...succ_return...()
Alexander Viro [Thu, 10 Feb 2005 11:07:05 +0000 (03:07 -0800)]
[SPARC]: __user annotations around sparc{32,64} ptrace ...succ_return...()

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC64]: fbio.h __user annotations
Alexander Viro [Thu, 10 Feb 2005 11:06:10 +0000 (03:06 -0800)]
[SPARC64]: fbio.h __user annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC64]: Fix prototype of check_signature() - it already gets a pointer
Alexander Viro [Thu, 10 Feb 2005 11:05:23 +0000 (03:05 -0800)]
[SPARC64]: Fix prototype of check_signature() - it already gets a pointer

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: NULL noise removal from sparc floppy.h
Alexander Viro [Thu, 10 Feb 2005 11:04:26 +0000 (03:04 -0800)]
[SPARC]: NULL noise removal from sparc floppy.h

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: Trivial annotations in sparc signal.c / svr4.h
Alexander Viro [Thu, 10 Feb 2005 11:03:40 +0000 (03:03 -0800)]
[SPARC]: Trivial annotations in sparc signal.c / svr4.h

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC]: nop() macro has bogus trailing semicolon
David S. Miller [Thu, 10 Feb 2005 11:00:32 +0000 (03:00 -0800)]
[SPARC]: nop() macro has bogus trailing semicolon

Noticed by Bob Breuer.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Thu, 10 Feb 2005 10:11:59 +0000 (02:11 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[SPARC32]: Fix UP build with spinlock debugging enabled.
Alexander Viro [Thu, 10 Feb 2005 10:08:27 +0000 (02:08 -0800)]
[SPARC32]: Fix UP build with spinlock debugging enabled.

atomic32.c assumes that arbitrary stuff can be passed into
spin_lock() on non-SMP builds, which is true except for when
spinlock debugging is enabled.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Thu, 10 Feb 2005 10:03:17 +0000 (02:03 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[SPARC32]: Fix SPIN_LOCK_UNLOCKED define.
Art Haas [Thu, 10 Feb 2005 09:14:28 +0000 (01:14 -0800)]
[SPARC32]: Fix SPIN_LOCK_UNLOCKED define.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC32]: Fix syntax errors from smp_{mb,rmb,wmb} on sparc32.
Meelis Roos [Thu, 10 Feb 2005 09:12:02 +0000 (01:12 -0800)]
[SPARC32]: Fix syntax errors from smp_{mb,rmb,wmb} on sparc32.

smp_mb(), smp_rmp() and smp_wmb() definitions have a trailing semicolon
and cause compilation errors in single statement context, like
if-then-else on line 358 in include/linux/skbuff.h. This patch removes
all three offending semicolons to make it compile.

Signed-off-by: Meelis Roos <mroos@linux.ee>
Acked-by: William Irwin <wli@holomorphy.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[TCP]: Set PSH bit on all outgoing TSO frames.
David S. Miller [Thu, 10 Feb 2005 09:01:47 +0000 (01:01 -0800)]
[TCP]: Set PSH bit on all outgoing TSO frames.

Helps with crazy Mac OS-X TCP implementations which delay the
recvmsg() wakeup of the user until push is seen.

Based upon ideas from Alexey Kuznetsov, and a preliminary
patch by Stephen Hemminger.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Thu, 10 Feb 2005 06:44:17 +0000 (22:44 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] nls_cp936.c is not synchronized with M$'s translation table
Andries E. Brouwer [Thu, 10 Feb 2005 06:41:41 +0000 (22:41 -0800)]
[PATCH] nls_cp936.c is not synchronized with M$'s translation table

The nls_cp936.c is not synchronized with MS's translation table, there are
some characters have different code from the code in updated table of MS.
For example, the unicode for character 0xB8A3 (GBK) should be U+798F, but
the code is U+FA1B in nls_cp936.c.

Regenerated the tables.  The number of differences is rather large, so I
did not check every change, but looking at a random sample the changes seem
OK.  Mostly the CJK Compatibility Ideographs have been replaced by their
ordinary equivalents.  Some code points that were unassigned now got a
meaning.

Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: typo in arch/ppc64/kernel/prom_init.c prom_debug
Olaf Hering [Thu, 10 Feb 2005 06:41:26 +0000 (22:41 -0800)]
[PATCH] ppc64: typo in arch/ppc64/kernel/prom_init.c prom_debug

local variable is base, not vbase.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] OProfile: ARM/XScale1 PMU support fix
Zwane Mwaikambo [Thu, 10 Feb 2005 06:41:13 +0000 (22:41 -0800)]
[PATCH] OProfile: ARM/XScale1 PMU support fix

Richard Purdie provided a patch to fix support for XScale1 processors (this
is the PMU version i never had access to initially), we weren't clearing
the overflow flags after an overflow interrupt had triggered resulting in
no additional interrupts occuring.  Additionally i've added basic power
management support.

Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Force read implies exec for all 32bit processes in x86-64
Andi Kleen [Thu, 10 Feb 2005 06:40:57 +0000 (22:40 -0800)]
[PATCH] Force read implies exec for all 32bit processes in x86-64

This effectively enables executable stack and executable heap for all 32bit
programs on x86-64, except if noexec32=on is specified.

This does not support changing this with personality right now, this would
need more intrusive changes.  A 64bit process will always turn it off and a
32bit process turn it on.

Also readd the noexec32=on option to turn this off and fix a minor bug in
noexec=...  (would be reported as unknown option)

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] OProfile: exit.text referenced in init.text
Zwane Mwaikambo [Thu, 10 Feb 2005 06:40:45 +0000 (22:40 -0800)]
[PATCH] OProfile: exit.text referenced in init.text

The linker doesn't complain, but i got this error on ARM which has similar
code.

oprofile_arch_exit: discarded in section `.exit.text' from arch/arm/oprofile/built-in.o
arch/arm/oprofile/built-in.o(.init.text+0x4c): In function `oprofile_init':
: relocation truncated to fit: R_ARM_PC24 oprofile_arch_exit

oprofile_arch_init()
<error path>
oprofile_arch_exit()
__exit nmi_exit()
__exit exit_driverfs()

Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] binfmt_elf: clearing bss may fail
Pavel Machek [Thu, 10 Feb 2005 06:40:30 +0000 (22:40 -0800)]
[PATCH] binfmt_elf: clearing bss may fail

So we discover that Borland's Kylix application builder emits weird elf
files which describe a non-writeable bss segment.

So remove the clear_user() check at the place where we zero out the bss.  I
don't _think_ there are any security implications here (plus we've never
checked that clear_user() return value, so whoops if it is a problem).

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix shmget for ppc64, s390-64 & sparc64.
Martin Schwidefsky [Thu, 10 Feb 2005 06:40:13 +0000 (22:40 -0800)]
[PATCH] Fix shmget for ppc64, s390-64 & sparc64.

The second parameter of the sys_ipc system wrapper on ppc64, s390-64 and
sparc64 is an "int".  sys_shmget gets called with this 32 bit value as the
size parameter.  This limits the maximum shared memory segment on these
three architectures to 2GB.  To fix this the second parameter is declared
as an "unsigned long" and is then casted to the type required by the The
same int vs.  unsigned long bug is fixed for sys_msgsnd and sys_msgrcv as
well.

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>
20 years ago[PATCH] Fix compat shmget overflow
Andi Kleen [Thu, 10 Feb 2005 06:39:59 +0000 (22:39 -0800)]
[PATCH] Fix compat shmget overflow

This fixes an incorrect sign extension in the compat layer that breaks
32bit shmget that are >2GB.  sys_shmget has a signed size_t size argument,
and the int size argument coming from 32bit user space would get sign
extended to 64bit, which is wrong.

I fixed it on all compat architectures, except PPC64 which was already ok.

It was originally debugged and fixed by Karl Rister @ IBM for SLES9 on x86-64.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] alpha: add missing dma_mapping_error
Stefan Knoblich [Thu, 10 Feb 2005 06:39:42 +0000 (22:39 -0800)]
[PATCH] alpha: add missing dma_mapping_error

Attached patch defines dma_mapping_error on alpha.  Without this
libata-core.c won't compile.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] L18 flash corruption fix
Nicolas Pitre [Thu, 10 Feb 2005 06:39:28 +0000 (22:39 -0800)]
[PATCH] L18 flash corruption fix

Another fix to the put_chip() concurrency logic.

Problem was occurring when:

1) one thread was erasing a block in partition x;
2) another thread suspended the erase in order to write to
   partition y;
3) a third thread came along to read a different block from
   partition x and, when it called put_chip(), chip->oldstate was
   FL_ERASING and the erase (mistakenly) resumed;
4) the write in partition y obviously failed at that point.

Incidentally, the fix for this problem also fixed the case where
suspending writes for MTD XIP usage was not working properly.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://gkernel.bkbits.net/misc-2.6
Linus Torvalds [Thu, 10 Feb 2005 02:51:07 +0000 (18:51 -0800)]
Merge bk://gkernel.bkbits.net/misc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[gen_init_cpio] When outputting a buffer, don't use char-at-a-time I/O.
Jeff Garzik [Thu, 10 Feb 2005 08:16:50 +0000 (03:16 -0500)]
[gen_init_cpio] When outputting a buffer, don't use char-at-a-time I/O.

20 years agoMerge bk://linux-scsi.bkbits.net/scsi-rc-fixes-2.6
Linus Torvalds [Thu, 10 Feb 2005 02:47:29 +0000 (18:47 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-rc-fixes-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] cciss: handle scsi_add_host failure
Christoph Hellwig [Thu, 10 Feb 2005 04:32:03 +0000 (23:32 -0500)]
[PATCH] cciss: handle scsi_add_host failure

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years agoqla2xxx: fix BUG's for smp_processor_id() on interrupt
James Bottomley [Thu, 10 Feb 2005 04:30:32 +0000 (23:30 -0500)]
qla2xxx: fix BUG's for smp_processor_id() on interrupt

From: Andrew Vasquez <andrew.vasquez@qlogic.com>

replace them with _smp_processor_id()

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
20 years ago[PATCH] sonypi: add fan and temperature status/control
Stelian Pop [Thu, 10 Feb 2005 01:48:07 +0000 (17:48 -0800)]
[PATCH] sonypi: add fan and temperature status/control

1. FAN Status/Control: you can now get the fan status (running or not) and
   also set the fan speed (for <5 seconds only). The problem is that there
   is an auto regulator that kicks in within about 5 seconds after that to
   restart the fan if it is above a threshold temperature (39 Degree C in
   my Vaio). It is useful just to get the fan status (primarily). It also
   appears that you can change the speed by increasing the values (much
   like the LCD control) - there are effectively only about 6 speeds (it
   seems - not sure, but from what I've played with on my Vaio).

2. Temperature: you can get the current temperature (same as reported by
   ACPI). This is primarily useful for APM users (since ACPI already gives
   this). I have used this to detect when the fan comes on in my Vaio (39
   Degree C).

From: Narayanan R S <nars@kadamba.org>
Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sonypi: fold the contents of sonypi.h into sonypi.c
Stelian Pop [Thu, 10 Feb 2005 01:47:54 +0000 (17:47 -0800)]
[PATCH] sonypi: fold the contents of sonypi.h into sonypi.c

Fold the contents of sonypi.h into sonypi.c making some structures static.

Partly-from: Adrian Bunk <bunk@stusta.de>
Suggested-by: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sonypi: use MISC_DYNAMIC_MINOR in miscdevice.minor assignment.
Stelian Pop [Thu, 10 Feb 2005 01:47:37 +0000 (17:47 -0800)]
[PATCH] sonypi: use MISC_DYNAMIC_MINOR in miscdevice.minor assignment.

Use MISC_DYNAMIC_MINOR in miscdevice.minor assignment.

Patch-from: Olaf Hering <olh@suse.de>
Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sonypi: add another HELP button event
Stelian Pop [Thu, 10 Feb 2005 01:47:23 +0000 (17:47 -0800)]
[PATCH] sonypi: add another HELP button event

Add another HELP button event.
Increment the version number.

Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sonypi: replace schedule_timeout() with msleep()
Stelian Pop [Thu, 10 Feb 2005 01:47:08 +0000 (17:47 -0800)]
[PATCH] sonypi: replace schedule_timeout() with msleep()

Replace schedule_timeout() with msleep() - from janitors.

Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] [ALSA] Add missing FORWARD ioctl
Takashi Iwai [Wed, 9 Feb 2005 23:35:00 +0000 (15:35 -0800)]
[PATCH] [ALSA] Add missing FORWARD ioctl

Added the missing PCM FORWARD ioctl.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] [ALSA] Fix struct alignment on PPC64
Takashi Iwai [Wed, 9 Feb 2005 23:34:46 +0000 (15:34 -0800)]
[PATCH] [ALSA] Fix struct alignment on PPC64

Fixed the struct size mismatch (due to alignment) of
snd_ctl_elem_value_t for PPC64 and SPARC64.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] [ALSA] AC'97 Audio support for Intel ICH7
Takashi Iwai [Wed, 9 Feb 2005 23:34:32 +0000 (15:34 -0800)]
[PATCH] [ALSA] AC'97 Audio support for Intel ICH7

This patch adds the ICH7 AC'97 DID the the intel8x0.c AC'97 audio
driver. This patch was build against 2.6.11-rc1.

Signed-off-by: Jason Gaston <Jason.d.gaston@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] [ALSA] Enable HP jack sense for FSC Scenic-W
Takashi Iwai [Wed, 9 Feb 2005 23:34:17 +0000 (15:34 -0800)]
[PATCH] [ALSA] Enable HP jack sense for FSC Scenic-W

Enable 'Headphone Jack Sense' control on FSC Scenic-W as default, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] [ALSA] Fix silent output on some machines with AD1981x codecs
Takashi Iwai [Wed, 9 Feb 2005 23:34:04 +0000 (15:34 -0800)]
[PATCH] [ALSA] Fix silent output on some machines with AD1981x codecs

Fixed the default state of 'Headphone Jack Sense' switch on AD1981x
codecs.  Setting this on affects the output of some machines (e.g.
Thindpads).

The default value is set on only hardwares which are known to work.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] [ALSA] Special AC97 patch for ASUS W1000/CMI9739 laptop
Takashi Iwai [Wed, 9 Feb 2005 23:33:52 +0000 (15:33 -0800)]
[PATCH] [ALSA] Special AC97 patch for ASUS W1000/CMI9739 laptop

This patch fixes sound output on the ASUS W1000 laptop with the CMI9739
chip. It wrongly reports that it has a SPDIF in, when in fact we wish to
use the EAPD pin.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] [ALSA] Add quirk for HP nc8000
Takashi Iwai [Wed, 9 Feb 2005 23:33:38 +0000 (15:33 -0800)]
[PATCH] [ALSA] Add quirk for HP nc8000

Added ac97 quirk for HP nc8000.
The list is sorted again.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] [ALSA] Add quirk for HP pavilion ZV5030US
Takashi Iwai [Wed, 9 Feb 2005 23:33:23 +0000 (15:33 -0800)]
[PATCH] [ALSA] Add quirk for HP pavilion ZV5030US

Added ac97 quirk for HP Pavilion ZV5030US to bind the control with
mute-LED.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[ARM] Fix VFP for entry-armv.S macro-isation.
Russell King [Wed, 9 Feb 2005 21:44:45 +0000 (21:44 +0000)]
[ARM] Fix VFP for entry-armv.S macro-isation.

Unfortunately, VFP got forgotten with when entry-armv.S was updated
to use macros, and the PC value changed from being passed in r5 to
r2.  This fixes VFP.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
20 years ago[ARM PATCH] 2455/1: shark: fix uninitialised variable in head
Ben Dooks [Wed, 9 Feb 2005 13:51:39 +0000 (13:51 +0000)]
[ARM PATCH] 2455/1: shark: fix uninitialised variable in head

Patch from Ben Dooks

stop compiler warning about uninitialised variable

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2454/1: cleanup shark_defconfig
Ben Dooks [Wed, 9 Feb 2005 13:44:22 +0000 (13:44 +0000)]
[ARM PATCH] 2454/1: cleanup shark_defconfig

Patch from Ben Dooks

remove a number of warnings from the default shark
build

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2463/1: Hynix h7202 serial ports fixes
Sascha Hauer [Wed, 9 Feb 2005 13:35:55 +0000 (13:35 +0000)]
[ARM PATCH] 2463/1: Hynix h7202 serial ports fixes

Patch from Sascha Hauer

This patch fixes the membase/mapbase of serial ports 1-4 and actually
enables them.

Signed-off-by: Sascha Hauer
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2462/1: IXP2000 - fixes for warnings from io.h
Ben Dooks [Wed, 9 Feb 2005 11:18:11 +0000 (11:18 +0000)]
[ARM PATCH] 2462/1: IXP2000 - fixes for warnings from io.h

Patch from Ben Dooks

Fix the include/asm-arm/arch-ipx2000/io.h to remove the warnings
generated due to the IO addresses not being of the type `void __iomem *`

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years agoMerge http://lia64.bkbits.net/linux-ia64-release-2.6.11
Linus Torvalds [Wed, 9 Feb 2005 05:20:26 +0000 (21:20 -0800)]
Merge http://lia64.bkbits.net/linux-ia64-release-2.6.11
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 9 Feb 2005 00:26:41 +0000 (16:26 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] Fix oops in alloc_zeroed_user_highpage() when page is NULL
Michael Ellerman [Tue, 8 Feb 2005 23:35:29 +0000 (15:35 -0800)]
[PATCH] Fix oops in alloc_zeroed_user_highpage() when page is NULL

The generic and IA-64 versions of alloc_zeroed_user_highpage() don't
check the return value from alloc_page_vma().  This can lead to an oops
if we're OOM.

This fixes my oops on PPC64, but I haven't got an IA-64 machine/compiler
handy.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PKT_SCHED]: Fix u32 double listing.
Patrick McHardy [Tue, 8 Feb 2005 12:24:20 +0000 (04:24 -0800)]
[PKT_SCHED]: Fix u32 double listing.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[TCP]: Fix calculation for collapsed skb size
Thomas Graf [Tue, 8 Feb 2005 12:22:16 +0000 (04:22 -0800)]
[TCP]: Fix calculation for collapsed skb size

Noticed by Denis V. Lunev <den@asplinux.ru> and based upon
original patch by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPV4]: ipconfig: Replace schedule_timeout() with msleep()
Nishanth Aravamudan [Tue, 8 Feb 2005 12:05:07 +0000 (04:05 -0800)]
[IPV4]: ipconfig: Replace schedule_timeout() with msleep()

Description: Use msleep() instead of schedule_timeout() to guarantee the task
delays as expected. Change the units of the two constants to be msecs and secs
respectively.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IPVS]: Replace schedule_timeout() with ssleep()
Nishanth Aravamudan [Tue, 8 Feb 2005 12:04:08 +0000 (04:04 -0800)]
[IPVS]: Replace schedule_timeout() with ssleep()

Description: Use ssleep() instead of schedule_timeout() to guarantee the task
delays as expected. The first two replacements use TASK_INTERRUPTIBLE but do not
check for signals, so ssleep() should be appropriate.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Replace schedule_timeout() with msleep() in netdev_wait_allrefs()
Nishanth Aravamudan [Tue, 8 Feb 2005 08:20:23 +0000 (00:20 -0800)]
[NET]: Replace schedule_timeout() with msleep() in netdev_wait_allrefs()

Description: Use msleep() instead of schedule_timeout() to guarantee the task
delays as expected. The current code uses TASK_INTERRUPTIBLE, but does not
respond to signals, so msleep() should be ok.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[XFRM]: Kill xfrm_export.c
Adrian Bunk [Tue, 8 Feb 2005 08:18:48 +0000 (00:18 -0800)]
[XFRM]: Kill xfrm_export.c

This patch removes xfrm_export.c and moves the EXPORT_SYMBOL{,_GPL}'s to
the files where the actual functions are.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>