]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.11-rc2 v2.6.11-rc2
Linus Torvalds [Fri, 21 Jan 2005 09:45:41 +0000 (01:45 -0800)]
Linux 2.6.11-rc2

20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 21 Jan 2005 08:36:34 +0000 (00:36 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ARM PATCH] 2426/1: PXA Corgi - Add USB Device Controller support
Richard Purdie [Fri, 21 Jan 2005 23:27:47 +0000 (23:27 +0000)]
[ARM PATCH] 2426/1: PXA Corgi - Add USB Device Controller support

Patch from Richard Purdie

Add USB Device Controller support to the corgi machines
(Sharp SL-C7xx series).

Signed-off-by: Richard Purdie
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2425/1: PXA Corgi - Flush ssp before suspending
Richard Purdie [Fri, 21 Jan 2005 23:20:07 +0000 (23:20 +0000)]
[ARM PATCH] 2425/1: PXA Corgi - Flush ssp before suspending

Patch from Richard Purdie

Make sure the PXA Corgi ssp driver flushes the ssp port before
suspending.

Signed-off-by: Richard Purdie
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2424/1: S3C2410 - Document add HP iPAQ rx3715 overview
Ben Dooks [Fri, 21 Jan 2005 23:13:47 +0000 (23:13 +0000)]
[ARM PATCH] 2424/1: S3C2410 - Document add HP iPAQ rx3715 overview

Patch from Ben Dooks

Add overview of the HP iPAQ rx3715, as well as
listing Shannon Holland in the contributors.

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2423/2: more PXA2xx AC97 defines
Nicolas Pitre [Fri, 21 Jan 2005 23:06:49 +0000 (23:06 +0000)]
[ARM PATCH] 2423/2: more PXA2xx AC97 defines

Patch from Nicolas Pitre

Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-mmc
Linus Torvalds [Fri, 21 Jan 2005 08:30:15 +0000 (00:30 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-mmc
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[MMC] wbsd update
Pierre Ossman [Fri, 21 Jan 2005 11:19:40 +0000 (11:19 +0000)]
[MMC] wbsd update

Patch from Pierre Ossman

This patch includes the latest changes to the wbsd driver.
* Proper usage of kunmap.
* Comment about hw bugs.
* Waits for data transfers to finish properly.
* Added module version info.
* FIFO bug fix for small reads.
* Optimised FIFO loop.
* DMA demand mode.
* IRQ race condition when sending commands fixed.

20 years agoMerge bk://kernel.bkbits.net/vojtech/input
Linus Torvalds [Fri, 21 Jan 2005 06:13:04 +0000 (22:13 -0800)]
Merge bk://kernel.bkbits.net/vojtech/input
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] cputime_t patches broke RLIMIT_CPU
Roland McGrath [Fri, 21 Jan 2005 05:48:33 +0000 (21:48 -0800)]
[PATCH] cputime_t patches broke RLIMIT_CPU

The RLIMIT_CPU limit is in seconds, not in jiffies.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] cputime.h seems to assume HZ==1000
Roland McGrath [Fri, 21 Jan 2005 05:48:16 +0000 (21:48 -0800)]
[PATCH] cputime.h seems to assume HZ==1000

There's 1000 msecs in a second. No relation to HZ, which just
happens to be 1000 in some cases.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix x86-64 vsyscall32 mapping
Petr Vandrovec [Fri, 21 Jan 2005 03:57:23 +0000 (19:57 -0800)]
[PATCH] Fix x86-64 vsyscall32 mapping

The x86-64 kernel incorrectly marks the 32-bit vsyscall page mapping at
virtual address 0xffffe000 as a global one, even though that mapping
does not exist globally.  As such, task switches do not correctly
invalidate the mapping, and strange behaviour ensues if a 64-bit program
happens to use that same virtual address for something else.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix md using bio on stack with bio clones
Jens Axboe [Fri, 21 Jan 2005 02:27:36 +0000 (18:27 -0800)]
[PATCH] Fix md using bio on stack with bio clones

If md resides on top of a driver using bio_clone() (such as dm), it will
oops the kernel due to md submitting a botched bio that has a veclist but
doesn't have bio->bi_max_vecs set.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] convert-cciss-to-compat_ioctl fix
Andrew Morton [Fri, 21 Jan 2005 00:25:33 +0000 (16:25 -0800)]
[PATCH] convert-cciss-to-compat_ioctl fix

Make the declaration match the definition..

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: FRV
Thomas Gleixner [Fri, 21 Jan 2005 00:25:16 +0000 (16:25 -0800)]
[PATCH] Lock initializer cleanup: FRV

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: drivers/serial
Thomas Gleixner [Fri, 21 Jan 2005 00:25:01 +0000 (16:25 -0800)]
[PATCH] Lock initializer cleanup: drivers/serial

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: character devices
Thomas Gleixner [Fri, 21 Jan 2005 00:24:43 +0000 (16:24 -0800)]
[PATCH] Lock initializer cleanup: character devices

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup - (ALPHA)
Thomas Gleixner [Fri, 21 Jan 2005 00:24:28 +0000 (16:24 -0800)]
[PATCH] Lock initializer cleanup - (ALPHA)

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: Misc drivers
Thomas Gleixner [Fri, 21 Jan 2005 00:24:09 +0000 (16:24 -0800)]
[PATCH] Lock initializer cleanup: Misc drivers

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: ARM
Thomas Gleixner [Fri, 21 Jan 2005 00:23:44 +0000 (16:23 -0800)]
[PATCH] Lock initializer cleanup: ARM

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: SPARC64
Thomas Gleixner [Fri, 21 Jan 2005 00:23:26 +0000 (16:23 -0800)]
[PATCH] Lock initializer cleanup: SPARC64

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: PARISC
Thomas Gleixner [Fri, 21 Jan 2005 00:23:11 +0000 (16:23 -0800)]
[PATCH] Lock initializer cleanup: PARISC

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: ISDN
Thomas Gleixner [Fri, 21 Jan 2005 00:22:53 +0000 (16:22 -0800)]
[PATCH] Lock initializer cleanup: ISDN

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: Raid
Thomas Gleixner [Fri, 21 Jan 2005 00:22:40 +0000 (16:22 -0800)]
[PATCH] Lock initializer cleanup: Raid

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: IA64
Thomas Gleixner [Fri, 21 Jan 2005 00:22:22 +0000 (16:22 -0800)]
[PATCH] Lock initializer cleanup: IA64

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: Filesystems
Thomas Gleixner [Fri, 21 Jan 2005 00:22:05 +0000 (16:22 -0800)]
[PATCH] Lock initializer cleanup: Filesystems

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: X86_64
Thomas Gleixner [Fri, 21 Jan 2005 00:21:42 +0000 (16:21 -0800)]
[PATCH] Lock initializer cleanup: X86_64

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: MTD
Thomas Gleixner [Fri, 21 Jan 2005 00:21:26 +0000 (16:21 -0800)]
[PATCH] Lock initializer cleanup: MTD

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: Network drivers
Thomas Gleixner [Fri, 21 Jan 2005 00:21:09 +0000 (16:21 -0800)]
[PATCH] Lock initializer cleanup: Network drivers

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: M68K
Thomas Gleixner [Fri, 21 Jan 2005 00:20:50 +0000 (16:20 -0800)]
[PATCH] Lock initializer cleanup: M68K

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup - (ARM26)
Thomas Gleixner [Fri, 21 Jan 2005 00:20:33 +0000 (16:20 -0800)]
[PATCH] Lock initializer cleanup - (ARM26)

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: Firewire
Thomas Gleixner [Fri, 21 Jan 2005 00:20:17 +0000 (16:20 -0800)]
[PATCH] Lock initializer cleanup: Firewire

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: DRM
Thomas Gleixner [Fri, 21 Jan 2005 00:20:01 +0000 (16:20 -0800)]
[PATCH] Lock initializer cleanup: DRM

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: I386
Thomas Gleixner [Fri, 21 Jan 2005 00:19:42 +0000 (16:19 -0800)]
[PATCH] Lock initializer cleanup: I386

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: V850
Thomas Gleixner [Fri, 21 Jan 2005 00:19:25 +0000 (16:19 -0800)]
[PATCH] Lock initializer cleanup: V850

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: SPARC
Thomas Gleixner [Fri, 21 Jan 2005 00:19:09 +0000 (16:19 -0800)]
[PATCH] Lock initializer cleanup: SPARC

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: SCSI
Thomas Gleixner [Fri, 21 Jan 2005 00:18:51 +0000 (16:18 -0800)]
[PATCH] Lock initializer cleanup: SCSI

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: UserMode
Thomas Gleixner [Fri, 21 Jan 2005 00:18:33 +0000 (16:18 -0800)]
[PATCH] Lock initializer cleanup: UserMode

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: S390
Thomas Gleixner [Fri, 21 Jan 2005 00:18:20 +0000 (16:18 -0800)]
[PATCH] Lock initializer cleanup: S390

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: Block devices
Thomas Gleixner [Fri, 21 Jan 2005 00:18:03 +0000 (16:18 -0800)]
[PATCH] Lock initializer cleanup: Block devices

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: media drivers
Thomas Gleixner [Fri, 21 Jan 2005 00:17:44 +0000 (16:17 -0800)]
[PATCH] Lock initializer cleanup: media drivers

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: Core
Thomas Gleixner [Fri, 21 Jan 2005 00:17:28 +0000 (16:17 -0800)]
[PATCH] Lock initializer cleanup: Core

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: Security
Thomas Gleixner [Fri, 21 Jan 2005 00:17:12 +0000 (16:17 -0800)]
[PATCH] Lock initializer cleanup: Security

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: PPC64
Thomas Gleixner [Fri, 21 Jan 2005 00:16:55 +0000 (16:16 -0800)]
[PATCH] Lock initializer cleanup: PPC64

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: SH
Thomas Gleixner [Fri, 21 Jan 2005 00:16:38 +0000 (16:16 -0800)]
[PATCH] Lock initializer cleanup: SH

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: sound
Thomas Gleixner [Fri, 21 Jan 2005 00:16:21 +0000 (16:16 -0800)]
[PATCH] Lock initializer cleanup: sound

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: IDE
Thomas Gleixner [Fri, 21 Jan 2005 00:16:05 +0000 (16:16 -0800)]
[PATCH] Lock initializer cleanup: IDE

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: Video
Thomas Gleixner [Fri, 21 Jan 2005 00:15:50 +0000 (16:15 -0800)]
[PATCH] Lock initializer cleanup: Video

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: M32R
Thomas Gleixner [Fri, 21 Jan 2005 00:15:33 +0000 (16:15 -0800)]
[PATCH] Lock initializer cleanup: M32R

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Lock initializer cleanup: PPC
Thomas Gleixner [Fri, 21 Jan 2005 00:15:17 +0000 (16:15 -0800)]
[PATCH] Lock initializer cleanup: PPC

Use the new lock initializers DEFINE_SPIN_LOCK and DEFINE_RW_LOCK

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fat: show current nls config even if it's default.
Hirofumi Ogawa [Fri, 21 Jan 2005 00:15:01 +0000 (16:15 -0800)]
[PATCH] fat: show current nls config even if it's default.

The default config may be set by distributor.  With this change, the
user can now know the current NLS used by FAT.

Signed-off-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] fat: reserved clusters cleanup
Hirofumi Ogawa [Fri, 21 Jan 2005 00:14:48 +0000 (16:14 -0800)]
[PATCH] fat: reserved clusters cleanup

- Replaces the "number of reserved clusters" by FAT_START_ENT.

- The ->clusters is total number of clusters. Instead of it, use the
  maximum cluster number (->max_cluster).

  By this change, removes the some "->clusters + 2" calculation.

- Adds inline function for cluster to block number conversion. And
  replaces the open-coding for it.

Signed-off-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] fat: fs/fat/* cleanup
Hirofumi Ogawa [Fri, 21 Jan 2005 00:14:33 +0000 (16:14 -0800)]
[PATCH] fat: fs/fat/* cleanup

This patch is just cleanup (whitespace, and place of functions is changed).
No changes of logic.

Signed-off-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] FAT: Lindent fs/vfat/namei.c fix
Hirofumi Ogawa [Fri, 21 Jan 2005 00:14:16 +0000 (16:14 -0800)]
[PATCH] FAT: Lindent fs/vfat/namei.c fix

Fix typo in comment

Signed-off-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] fat: Lindent fs/vfat/namei.c
Hirofumi Ogawa [Fri, 21 Jan 2005 00:14:03 +0000 (16:14 -0800)]
[PATCH] fat: Lindent fs/vfat/namei.c

Signed-off-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] fat: Lindent fs/msdos/namei.c
Hirofumi Ogawa [Fri, 21 Jan 2005 00:13:46 +0000 (16:13 -0800)]
[PATCH] fat: Lindent fs/msdos/namei.c

Signed-off-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] fat: fs/fat/cache.c: make __fat_access static
Hirofumi Ogawa [Fri, 21 Jan 2005 00:13:31 +0000 (16:13 -0800)]
[PATCH] fat: fs/fat/cache.c: make __fat_access static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-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] fat: kill unnecessary kmap()
Hirofumi Ogawa [Fri, 21 Jan 2005 00:13:17 +0000 (16:13 -0800)]
[PATCH] fat: kill unnecessary kmap()

Signed-off-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] fat: use vprintk instead of snprintf with static buffer
Hirofumi Ogawa [Fri, 21 Jan 2005 00:13:03 +0000 (16:13 -0800)]
[PATCH] fat: use vprintk instead of snprintf with static buffer

Signed-off-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] fat: Manually inline shortname_info_to_lcase()
Hirofumi Ogawa [Fri, 21 Jan 2005 00:12:46 +0000 (16:12 -0800)]
[PATCH] fat: Manually inline shortname_info_to_lcase()

From <lsr@neapel230.server4you.de>

This patch inlines shortname_info_to_lcase() by hand.  At least my compiler
(gcc 3.3.4 from Debian) doesn't go all the way, so the compiled text size is
decreased by this patch.  And IMHO the code gets more readable, too.

The terms (base->valid && ext->valid), (ext->lower || ext->upper) and
(base->lower || base->upper) are trivially found to be true at the single
callsite of shortname_info_to_lcase().  The relevant lines are included in
this patch file.

Signed-off-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] fat: Return better error codes from vfat_valid_longname()
Hirofumi Ogawa [Fri, 21 Jan 2005 00:12:30 +0000 (16:12 -0800)]
[PATCH] fat: Return better error codes from vfat_valid_longname()

From Rene Scharfe <rene.scharfe@lsrfire.ath.cx>

Fix error code.

Signed-off-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] fat: IS_BADCHAR/IS_REPLACECHR/IS_SKIPCHAR cleanup
Hirofumi Ogawa [Fri, 21 Jan 2005 00:12:13 +0000 (16:12 -0800)]
[PATCH] fat: IS_BADCHAR/IS_REPLACECHR/IS_SKIPCHAR cleanup

From Rene Scharfe <rene.scharfe@lsrfire.ath.cx>

Signed-off-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] fat: merge msdos_fs_{i,sb}.h into msdos_fs.h
Hirofumi Ogawa [Fri, 21 Jan 2005 00:11:57 +0000 (16:11 -0800)]
[PATCH] fat: merge msdos_fs_{i,sb}.h into msdos_fs.h

From Christoph Hellwig <hch@lst.de>

We don't have the union in "struct inode" and "struct super_block", so we
doesn't need xxx_fs_i.h and xxx_fs_sb.h anymore.

Signed-off-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] fat: kill fatfs_syms.c
Hirofumi Ogawa [Fri, 21 Jan 2005 00:11:40 +0000 (16:11 -0800)]
[PATCH] fat: kill fatfs_syms.c

The patch below removes fatfs_syms.c

All EXPORT_SYMBOL's are moved to the files where the actual functions are.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-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] Convert amdtp driver to compat_ioctl
Andi Kleen [Fri, 21 Jan 2005 00:11:24 +0000 (16:11 -0800)]
[PATCH] Convert amdtp driver to compat_ioctl

Convert amdtp driver to compat_ioctl

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Convert video1394 driver to compat_ioctl
Andi Kleen [Fri, 21 Jan 2005 00:11:09 +0000 (16:11 -0800)]
[PATCH] Convert video1394 driver to compat_ioctl

Convert video1394 driver to compat_ioctl

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Convert dv1394 driver to compat_ioctl
Andi Kleen [Fri, 21 Jan 2005 00:10:55 +0000 (16:10 -0800)]
[PATCH] Convert dv1394 driver to compat_ioctl

Convert dv1394 driver to compat_ioctl

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Convert sis fb driver to compat_ioctl
Andi Kleen [Fri, 21 Jan 2005 00:10:42 +0000 (16:10 -0800)]
[PATCH] Convert sis fb driver to compat_ioctl

Convert the sis framebuffer driver to compat ioctl.

Signed-off-by: Andi Kleen <ak@muc.de>
Acked-by: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Add compat_ioctl to frame buffer layer
Andi Kleen [Fri, 21 Jan 2005 00:10:29 +0000 (16:10 -0800)]
[PATCH] Add compat_ioctl to frame buffer layer

Forward compat_ioctl through the frame buffer layer.

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Convert cciss to compat_ioctl
Andi Kleen [Fri, 21 Jan 2005 00:10:12 +0000 (16:10 -0800)]
[PATCH] Convert cciss to compat_ioctl

Convert the cciss driver to compat_ioctl.  This cleans up a lot of code.

I don't have such hardware thus this is only compile tested.

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Support compat_ioctl for block devices
Andi Kleen [Fri, 21 Jan 2005 00:09:51 +0000 (16:09 -0800)]
[PATCH] Support compat_ioctl for block devices

Support passing down of compat_ioctl on block devices.  This is needed for
the compat_ioctl conversion of block drivers.

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Convert Infiniband MAD driver to compat/unlocked_ioctl
Andi Kleen [Fri, 21 Jan 2005 00:09:34 +0000 (16:09 -0800)]
[PATCH] Convert Infiniband MAD driver to compat/unlocked_ioctl

Convert MAD driver to compat/unlocked_ioctl. Streamlines the code a bit.

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Some fixes for compat ioctl
Andi Kleen [Fri, 21 Jan 2005 00:09:19 +0000 (16:09 -0800)]
[PATCH] Some fixes for compat ioctl

While doing some compat_ioctl conversions I noticed a few issues in
compat_sys_ioctl:

- It is not completely compatible to old ->ioctl because the traditional
  common ioctls are not checked before it.  I added a check for those.  The
  main advantage is that the handler now works the same as a traditional
  handler even when it returns -EINVAL

- The private socket ioctl check should only apply for sockets.

- There was a security hook missing.  Drawback is that it uses the same
  hook now, and the LSM module cannot distingush between 32bit and 64bit
  clients.  But it'll have to live with that for now.

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Convert XFS to unlocked_ioctl and compat_ioctl
Andi Kleen [Fri, 21 Jan 2005 00:09:01 +0000 (16:09 -0800)]
[PATCH] Convert XFS to unlocked_ioctl and compat_ioctl

Convert the XFS ioctl handlers over to unlocked_ioctl and compat_ioctl.

Signed-off-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] completion API additions
Ingo Molnar [Fri, 21 Jan 2005 00:08:46 +0000 (16:08 -0800)]
[PATCH] completion API additions

Adds 3 new completion API calls, which are a straightforward extension of
the current APIs:

 int wait_for_completion_interruptible(struct completion *x);
 unsigned long wait_for_completion_timeout(struct completion *x,
                                                   unsigned long timeout);
 unsigned long wait_for_completion_interruptible_timeout(
                        struct completion *x, unsigned long timeout);

This enables the conversion of more semaphore-using code to completions.
There is code that cannot be converted right now (and is forced to use
semaphores) because these primitives are missing.  Thomas Gleixner has a
bunch of patches to make use of them.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Minor IPMI driver updates
Corey Minyard [Fri, 21 Jan 2005 00:08:29 +0000 (16:08 -0800)]
[PATCH] Minor IPMI driver updates

This patch fixes counting of unhandled messages.  Messages that were
handled internally by the driver (to the NULL user) were miscounted as
unhanlded responses.  This counts them properly.

This patch also fixes the DMI 16-byte setting, which was set as a 16-bit
setting.

It also uses the right value to initilize the address memory when using a
memory-based interface.

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] add page_offset to mm.h
Christoph Hellwig [Fri, 21 Jan 2005 00:08:14 +0000 (16:08 -0800)]
[PATCH] add page_offset to mm.h

To convert page->index to a byte index you need to cast it to loff_t first
so it's a 64bit value.  There have been quite a few places that got it
wrong in the kernel.  To make it easier a nice little helper would be nice,
and in fact the NFS code already has it.  Let's move it to pagemap.h so
everyone can use it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fix INIT_SIGHAND warning on mips
Christoph Hellwig [Fri, 21 Jan 2005 00:07:57 +0000 (16:07 -0800)]
[PATCH] fix INIT_SIGHAND warning on mips

sa_handler isn't the first member of struct sigaction on mips.  Use C99
initializers to avoid a compiler warning.  (There don't seem to be more
serious problems as mips worked with that warning for ages)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Use -Wno-pointer-sign for gcc 4.0
Andi Kleen [Fri, 21 Jan 2005 00:07:42 +0000 (16:07 -0800)]
[PATCH] Use -Wno-pointer-sign for gcc 4.0

Compiling an allyesconfig kernel straight with a gcc 4.0 snapshot gives
nearly 10k new warnings like:

warning: pointer targets in passing argument 5 of `cpuid' differ in signedness

Since the sheer number of these warnings was too much even for the most
determined kernel janitors (I actually asked ;-) and I don't think it's a
very serious issue to have these mismatches I submitted an new option to
gcc to disable it.  It was incorporated in gcc mainline now.

This patch makes the kernel compilation use it.  There are still quite a
lot of new warnings with 4.0 (mostly about uninitialized variables), but
the compile log looks much nicer nnow.

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] consolidate arch specific resource.h headers
Chris Wright [Fri, 21 Jan 2005 00:07:25 +0000 (16:07 -0800)]
[PATCH] consolidate arch specific resource.h headers

Most of the include/asm-*/resource.h headers are the same as one another.
This patch makes one generic version, include/asm-generic/resource.h, and
uses that when appropriate.  The only vaguely interesting things here are
that the generic version introduces a new _STK_LIM_MAX macro, which can be
populated by an arch (ia64 and parisc needed that).  Also, some arches hid
RLIM_INFINITY under __KERNEL__, while others did not.  The generic version
does not, so the following arches will see that change:

    arm, arm26, mips, ppc, ppc64, sh (and hence sh64)

And, finally, some arches maintain their own order for the resource
numbers.  This is now marked by __ARCH_RLIMIT_ORDER, and is used by the
following arches:

    alpha, mips, sparc, and sparc64.

This actually uncovered a mips bug (fix already sent, this patch is
relative to that fix), where the default RLIMIT_MEMLOCK was set to
RLIM_INFINITY and RLIMIT_NPROC set to MLOCK_LIMIT (the latter is no big
deal because RLIMIT_NPROC default is overwritten dynamically during bootup
in fork_init()).  Also, this change makes alpha's default for RLIMIT_NPROC
change from RLIM_INFINITY to 0, but again...no problem as it's dynamically
overwritten during bootup.

The following arches are left untouched:
    m68knommu: untouched (uses m68k/resource.h)
    sh64: untouched (uses asm-sh/resource.h)
    um: untouched (uses arch code already)

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ext3: commit superblock before panicking
Eric Lammerts [Fri, 21 Jan 2005 00:07:09 +0000 (16:07 -0800)]
[PATCH] ext3: commit superblock before panicking

I have a problem with errors=panic on ext3.  When a panic occurs, the error
event is not recorded anywhere.  So after the reboot, e2fsck doesn't kick
in, the file system gets mounted again and the box panics again...

Patch below moves the ERRORS_PANIC test down a bit so the journal is
aborted before panic() is called.

Signed-off-by: Eric Lammerts <eric@lammerts.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Use official Unicodes for DEC VT characters
H. Peter Anvin [Fri, 21 Jan 2005 00:06:53 +0000 (16:06 -0800)]
[PATCH] Use official Unicodes for DEC VT characters

The use of U+F800 to U+F804 has been deprecated since 2003; this makes the
deprecation effective by replacing these characters with the officially
assigned U+23BA to U+23BD.

It also updates unicode.txt to match the latest version from the LANANA
webpage.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] vgacon fixes to help font restauration in X11
Egbert Eich [Fri, 21 Jan 2005 00:06:35 +0000 (16:06 -0800)]
[PATCH] vgacon fixes to help font restauration in X11

So far the X.Org/XFree86 Xservers use internal functions to perform
saving/restoring of console fonts.  This doesn't work under all
circumstances and has disadvantages:

1. On some platforms (IA64) X needs to POST the BIOS before
   it even has a chance to access the hardware itself. This POSTing
   will usually undo any changes to the graphics hardware that the
   kernel may have done.
2. More and more drivers fully rely on BIOS support. However
   the BIOS functions which could be used to save/restore
   register settings may be broken so the only way of mode
   save/restore is getting/setting the BIOS mode ID.
   This will restore the BIOSes default fonts, not the custom font
   that the user may have loaded.

I would like to utilize the kernel's save/restore console fonts ioctls to
save/restore the text mode console fonts from inside X.

The patch does two things:

1. Eliminates the optimization that returns from vgacon_adjust_height()
   early (without reprogramming the HW) when the hight of the font hasn't
   changed.
2. Resets the stored 'from' and 'to' lines for the text cursor in
   vgacon_adjust_height() to cause vgacon_set_cursor_size() reprogram
   the textcursor start and end line.

These are necessary to sanitize the HW in case something other than the
kernel has changed the register values without restoring them properly.

I'm fully aware that in the long run we will need to look into a new driver
model for graphics where no two instances fight over who gets register
access.  However such a model won't be created nor will we get the majority
of the drivers ported over night.  Therefore we need to find an interim
solution for the most pressing problems.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Approved-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] scripts/reference*.pl - treat built-in.o as conglomerate
Keith Owens [Fri, 21 Jan 2005 00:06:19 +0000 (16:06 -0800)]
[PATCH] scripts/reference*.pl - treat built-in.o as conglomerate

scripts/reference*.pl - treat built-in.o as conglomerate.  Ignore
references from altinstructions to init text/data.

Signed-off-by: Keith Owens <kaos@ocs.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] switch FRV to use local_soft_irq_pending
Christoph Hellwig [Fri, 21 Jan 2005 00:06:05 +0000 (16:06 -0800)]
[PATCH] switch FRV to use local_soft_irq_pending

The newly merged frv do_IRQ code calls softirq_pending(), but always with
the current cpu as argument - switch to local_softirq_pending().

Btw, this usage look bogus to me, any reason you need to call do_softirq
again after you did four lines above in irq_exit(), David?

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] remove bogus softirq_pending() usage in cris
Christoph Hellwig [Fri, 21 Jan 2005 00:05:50 +0000 (16:05 -0800)]
[PATCH] remove bogus softirq_pending() usage in cris

Acked by Mikael Starvik.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] binfmt_elf: allow mips to overrid e_flags
Christoph Hellwig [Fri, 21 Jan 2005 00:05:34 +0000 (16:05 -0800)]
[PATCH] binfmt_elf: allow mips to overrid e_flags

arch/mips/kernel/binfmt_elfn32.c needs to override e_flags for elf
coredumps.  It already defines ELF_CORE_EFLAGS before including
binfmt_elf.c, but the latter doesn't pick up the define yet.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] allow all architectures to set CONFIG_DEBUG_PREEMPT
Ingo Molnar [Fri, 21 Jan 2005 00:05:19 +0000 (16:05 -0800)]
[PATCH] allow all architectures to set CONFIG_DEBUG_PREEMPT

We think it'll work OK.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] avoid sparse warning due to time-interpolator
David Mosberger [Fri, 21 Jan 2005 00:05:03 +0000 (16:05 -0800)]
[PATCH] avoid sparse warning due to time-interpolator

The "addr" member in the time-interpolator is sometimes used as a
function-pointer and sometimes as an I/O-memory pointer.  The attached
patch tells sparse that this is OK.

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] radio-typhoon: use correct module_param data type
Randy Dunlap [Fri, 21 Jan 2005 00:04:50 +0000 (16:04 -0800)]
[PATCH] radio-typhoon: use correct module_param data type

Use correct data type for module_param:
drivers/media/radio/radio-typhoon.c:317: warning: return from
incompatible pointer type

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] factor out common code around ->follow_link invocation
Christoph Hellwig [Fri, 21 Jan 2005 00:04:33 +0000 (16:04 -0800)]
[PATCH] factor out common code around ->follow_link invocation

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] move read-only and immutable checks into permission()
Christoph Hellwig [Fri, 21 Jan 2005 00:04:18 +0000 (16:04 -0800)]
[PATCH] move read-only and immutable checks into permission()

Currently it's up to the filesystem ->permission method to check whether
the filesystem is readonly or the file marked immutable.  But this is
really a VFS decision, and the distintion becomes more important when
moving to per-mountpoint read only flags.

For most filesystems that have been using generic_permission this is not
change in behaviour.  For those that we're missing the check (cifs without
CIFS_MOUNT_NO_PERM and coda [1]) this is a bugfix.

Both reiserfs and xfs have this check still in their ->permission routine
because they call it from other places aswell.  I'll try switching them
over to generic_permission and will take care of this one.

[1] coda_ioctl_permission always returns 0, aka always grants access,
    which looks more than fishy to me.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Minor ext3 speedup
Jan Kara [Fri, 21 Jan 2005 00:04:02 +0000 (16:04 -0800)]
[PATCH] Minor ext3 speedup

Remove unnecessary division and modulo from ext3 code in often used paths.
Without the patch an oprofile of dbench load shows ext3_get_group_desc()
uses 0.84% and ext3_group_sparse() 1.51%, with the patch the numbers are
0.33% and 0.27% respectively.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] file_table:expand_files() code cleanup
Prasanna Meda [Fri, 21 Jan 2005 00:03:48 +0000 (16:03 -0800)]
[PATCH] file_table:expand_files() code cleanup

expand_files() cleanup: Make expand_files() common code for
fork.c:fork/copy_files(), open.c:open/get_unused_fd() and
fcntl.c:dup/locate_fd().

expand_files() does both expand_fd_array and expand_fd_set based on the
need.  This is used in dup().  open() and fork() duplicates the work of
expand files.  At all places we check for expanding fd array, we also check
for expanding fdset.  There is no need of checking and calling them
seperately.

This change also moves the expand_files to file.c from fcntl.c, and makes
the expand_fd_array and expand_fd_set local to that file.

Signed-off-by: Prasanna Meda <pmeda@akamai.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: define __HAVE_ARCH_CMPXCHG on x86
Jeff Dike [Fri, 21 Jan 2005 00:03:30 +0000 (16:03 -0800)]
[PATCH] uml: define __HAVE_ARCH_CMPXCHG on x86

Signed-off-by: Jeff Dike <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 a stack corruption crash
Jeff Dike [Fri, 21 Jan 2005 00:03:15 +0000 (16:03 -0800)]
[PATCH] uml: fix a stack corruption crash

Fix a race where signals could be handled to the parent of a new process on
the kernel stack of the child, corrupting that stack, and crashing UML when
the next first runs.

Signed-off-by: Jeff Dike <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 __pud_alloc definition to match the declaration
Jeff Dike [Fri, 21 Jan 2005 00:02:57 +0000 (16:02 -0800)]
[PATCH] uml: fix __pud_alloc definition to match the declaration

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: eliminate unhandled SIGPROF on halt
Jeff Dike [Fri, 21 Jan 2005 00:02:43 +0000 (16:02 -0800)]
[PATCH] uml: eliminate unhandled SIGPROF on halt

Fixes the "profiling timer expired" message on shutting down with profiling
enabled.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: change for_each_cpu to for_each_online_cpu
Jeff Dike [Fri, 21 Jan 2005 00:02:27 +0000 (16:02 -0800)]
[PATCH] uml: change for_each_cpu to for_each_online_cpu

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] uml: allow ubd devices to provide partial end blocks
Jeff Dike [Fri, 21 Jan 2005 00:02:11 +0000 (16:02 -0800)]
[PATCH] uml: allow ubd devices to provide partial end blocks

If the file backing a ubd device is not an even blocklength, then the last
partial block is now readable, and it is padded with zeros.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>